Hi All.
Trying last version of php (5.2.4) I face an error, wich repeats on four
my Linux systems: Mandrake 10.0, Manriva 2006, Mandriva 2007, Zenwalk 4.6.
The essence of problem is error "Premature end of script headers". Before
using php-5.2.4., I use php-4.4.4 as CGI with apache-1.3 and apache-2.0
and all works right. But with compiled and installed as CGI new php
version this error appears newly and newly on four Linux-based systems
(Mandrake 10.0, Mandriva 2006 and 2007, Zenwalk 4.6).
Significant lines of worked (with php-4) httpd.conf settings from both
Apache versions are (in <IfModule mod_alias> section):
AddHandler php-script .php .phtml
Action php-script "/php5-cgi/php"
ScriptAlias /php5-cgi/ "/usr/local/php5/bin/"
<Directory "/usr/local/php5/bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Php was compiled with configure string:
./configure --prefix=/usr/local/php5 --with-gd --with-jpeg-dir=/usr
--with-png-dir=/usr --with-zlib-dir=/usr/lib/python2.4/lib-dynload/
Of couse, "php5" was php4 in old layout.
* * *
Php binary works proper from command line.
* * *
In web search I found another human, who has same problem.
Think report a bug, but distrust, that it is a bug...
Who can help me?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]