PHP 4.0 Bug #4456 Updated: PHP4 won't run in cgi mode with Apache
| From: | Bug Database | Date: | Sun, 18 Jun 2000 18:14:33 +0000 |
| Subject: | PHP 4.0 Bug #4456 Updated: PHP4 won't run in cgi mode with Apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21690@lists.php.net to get a copy of this message | ||
ID: 4456
User Update by: cahagn_o@epita.fr
Status: Closed
Bug Type: Scripting Engine problem
Description: PHP4 won't run in cgi mode with Apache
I tried the latest snapshot found on snaps.php.net : php4-200006180145
and is still won't work properly.
Here's my ./configure, it still works fine with PHP3 and the same configure (except mysql but I
guess it doesn't interfere).
./configure --with-config-file-path=/usr/www/etc/httpd/conf/php_cgi \
--enable-discard-path \
--with-gd=/usr/www/mbin/i386-NetBSD \
--with-mysql \
--with-dbase \
--with-zlib=/usr/www/mbin/i386-NetBSD \
--enable-ftp \
--with-imap=/usr/www/mbin/i386-NetBSD/lib
(adding --force-cgi-redirect didn't help)
Do I need to set doc_root and user in php.ini ? I use the default one and using these settings
didn't change anything.
I still get a premature end of script though. Some time ago, with previous PHP4 releases, I obtained
"No input file".
I am still using Apache 1.3.12 on NetBSD, with suEXEC and this setting in httpd.conf
AddHandler cgi-script .cgi .php
I'm going to try this setup on a Linux box later to see if the problem also happens.
Full Bug description available at: http://bugs.php.net/version4/?id=4456