ID: 20604 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Unknown/Other Function Operating System: Linux Debian Sarge PHP Version: 4CVS-2002-11-24 (dev) New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-11-24 04:10:31] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] when you disable cgi and cli how can you use #!/usr/local/bin/php ? ------------------------------------------------------------------------ [2002-11-24 03:53:45] [EMAIL PROTECTED] interesting when i just configure with ./configure there is no segmantation fault ------------------------------------------------------------------------ [2002-11-24 03:43:24] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ 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