Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP as CGI does NOT under Linux??
September 1, 2004, 8:36 pm
rate this thread
as CGI under my RedHat 9.
PHP 4.3.8 was compiled from source tarball. mod_php under Apache 1 and 2
works, only CGI does not work! :( Apache logs contains "Premature end of
script headers". Web browser can see "Internal message" :(
I checked two, different instalation in httpd.conf. None of them works
correctly and I do not know why.
ScriptAlias /php4/ "/usr/local/php4/bin"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php4/php"
ScriptAlias /php4/ "/usr/local/php4/bin/"
AddHandler php-script .php
Action php-script "/php4/php"
- Alvaro G. Vicario
September 2, 2004, 3:48 am
[OT] Re: PHP as CGI does NOT under Linux?? (was: PHP as CGI does NOT under Linux??)
Please apologize me for being so cheeky and feel free to ignore this
message. But I've been trying to upgrade the PHP packages in my good old
Red Hat 9 box and I finally reached the conclusion that it's impossible.
When I compile the PHP tarball it complains about not having a recent
Apache version. When I compile the Apache tarball it complains about so
many missing packages that I'd have to upgrade even the POP3 server.
Did you do anything special? Were you forced to break your server into
-+ Álvaro G. Vicario - Burgos, Spain - ICQ 46788716
+- http://www.demogracia.com (la web de humor para mayores de 100 años)
++ «Sonríe, que te vamos a hacer una foto para la esquela»