php.net |  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
Votes:1
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 27 = ?
Subscribe to this entry?

 
 [2006-07-16 15:53 UTC] neilxp at 163 dot com
Description:
------------
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:
---------------
none

Expected result:
----------------
runs php script

Actual result:
--------------
Segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-16 16:18 UTC] helly@php.net
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] tony2001@php.net
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
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php 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: Thu Apr 25 13:01:30 2024 UTC