|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38113 CLI error
Submitted: 2006-07-16 15:53 UTC Modified: 2006-07-24 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: neilxp at 163 dot com Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.1.4 OS: RHEL4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: neilxp at 163 dot com
New email:
PHP Version: OS:


 [2006-07-16 15:53 UTC] neilxp at 163 dot com
i compiled php5.14 on RHEL4 using the following configuration:

./configure --enable-sockets --enable-mbstring --with-apxs2=/usr/sbin/apxs --with-openssl=/usr/local/ssl --with-bz2 --enable-ctype --with-iconv --with-zlib --with-mysql --with-gd --with-png --with-jpeg --with-freetype --with-iconv --with-pear=/usr/share/pear

when executing php in command line, this error occurs:

Segmentation fault

Reproduce code:

Expected result:
runs php script

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-16 16:18 UTC]
Moist liekly you had php installed from rpm's and didn't deinstall it first so that now php loads wrong libs or evetually even some left over shared extensions.

To test this do : php -n -v
And it it works : php -n -m

It also helps to check the log files when startup errors are enabled.

Further more, before installing the php you built you can execute it from the build directory, again using parameter -n first.
 [2006-07-16 16:33 UTC] neilxp at 163 dot com
php -n -v
Segmentation fault

but now i have deinstalled php came with rpm, rebuilded it with make clean add make, but this error still comes out
 [2006-07-16 16:41 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read for *NIX and for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2006-07-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 08:01:27 2024 UTC