#20604 [Fbk]: PHP CLI exists always with Segmantation Fault

From: Date: Sun, 24 Nov 2002 10:10:31 +0000
Subject: #20604 [Fbk]: PHP CLI exists always with Segmantation Fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25705@lists.php.net to get a copy of this message
ID: 20604 Updated by: jan@php.net 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: 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? :) Previous Comments: ------------------------------------------------------------------------ [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 ? ------------------------------------------------------------------------ [2002-11-24 03:53:45] binary_digigit@web.de interesting when i just configure with ./configure there is no segmantation fault ------------------------------------------------------------------------ [2002-11-24 03:43:24] binary_digit@web.de php configured with './configure' '--quiet' '--with-mysql=/usr/local/mysql' '--enable-inline-optimization' '--enable-trans-sid' '--with-mhash' '--with-bz2' '--with-zlib' '--enable-ftp' '--with-openssl' '--enable-sockets' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-iconv' '--with-pcre-regex=/usr' '--enable-sigchild' '--with-expat-dir=/usr' '--disable-cli' '--disable-cgi' '--disable-ipv6' taken from phpinfo(): mysql 4.0.5-beta self compiled PCRE Library Version 3.9 02-Jan-2002 OpenSSL 0.9.6g 9 Aug 2002 MHASH API Version 20020524 iconv library version 2.2.5 BZip2 Version 1.0.2, 30-Dec-2001 glibc version 2.2.5 php,mysql, apache compiled with gcc 3.2.1 kernel version 2.5.47 apache 2.0.43 ------------------------------------------------------------------------ [2002-11-24 03:35:11] jan@php.net since this one is a bit nasty (for I, e.g., can't reproduce it), it would help a lot if you can provide more information about your system and build environment. Thank You. ------------------------------------------------------------------------ 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

« previous php.bugs (#25705) next »