#20604 [Com]: PHP CLI exists always with Segmantation Fault
| From: | binary_digit at web dot de | Date: | Sun, 24 Nov 2002 10:29:40 +0000 |
| Subject: | #20604 [Com]: PHP CLI exists always with Segmantation Fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25708@lists.php.net to get a copy of this message | ||
ID: 20604
Comment by: binary_digit@web.de
Reported By: binary_digit@web.de
Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Linux Debian Sarge
PHP Version: 4CVS-2002-11-24 (dev)
New Comment:
i add evrything one at a time and recompile and rerun my script i
recompiled evry time with make -s clean all install
the problem seems to be in --with-apxs2=/usr/local/apache2/bin/apxs so
there is a bug and a bug report =)
Previous Comments:
------------------------------------------------------------------------
[2002-11-24 04:20:11] jan@php.net
so no error === no bugreport? :)
can you add your ./configure lines cept for --disable-cli and see if
that segfault reappears?
------------------------------------------------------------------------
[2002-11-24 04:17:22] binary_digit@web.de
interesting in my config-php script where i have the configure line
just to not type it evrytime i have it not there but my apache2 module
is a bit older where i have compiled it with --disable-cli =)
current testing status :
./configure --with-mysql=/usr/local/mysql --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets
works without problems
------------------------------------------------------------------------
[2002-11-24 04:10:31] jan@php.net
your original ./configure line included '--disable-cli'
'--disable-cgi', thus not php binary was built that you were able to
use with #!/usr/local/bin/php. So what was your ./configure line for
that standalone executable php file? :)
------------------------------------------------------------------------
[2002-11-24 04:04:53] binary_digit@web.de
with just ./configure it compiles the cli and installs it because php
-m doestn't list the bzip2m, zlib etc. modules
that's the output of php -m with my normal configure flags
[PHP Modules]
bz2
ctype
ftp
iconv
mhash
mysql
openssl
overload
pcre
posix
session
sockets
standard
tokenizer
xml
zlib
[Zend Modules]
that's the output with no configure flags
[PHP Modules]
ctype
mysql
overload
pcre
posix
session
standard
tokenizer
xml
[Zend Modules]
------------------------------------------------------------------------
[2002-11-24 03:57:50] jan@php.net
when you disable cgi and cli how can you use #!/usr/local/bin/php ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20604
--
Edit this bug report at http://bugs.php.net/?id=20604&edit=1