MLUG: [MLUG] php as cgi script
[MLUG] php as cgi script
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi all

I have tested php as cgi (I don't want to recompile apache). On one machine, I 
could get it to work with these two lines in httpd.conf:

AddType application/x-httpd-php .php .php4 .php3 .phtml
Action application/x-httpd-php "/usr/local/bin/php"

But now, I want to implement it also on my RH7.3 server, but this is not 
working right.
Instead of executing php with the script as parameter:
/usr/local/bin/php test.php

it tries to start
	/usr/local/bin/php/test.php

and can not find it.

Has anyone an explanation for this, I have tried now for hours, but it only 
gets worse.

/sven


_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members