In my httpd.conf file I have placed the lines:
AddHandler phtml-script .phtml Action phtml-script /cgi-bin/php
I have a symlink in my cgi-bin directory to the php executable.
Am I missing anything else to make this work?
A clue-by-four about security. If that was to work you would be opening your server up to any kind of attack an attacker could thinking of. We're talking *wide* open.
1) Why can't you use the PHP module?
2) What version of Apache are you using?
If Apache 1.3, the manual[1] gives clear instructions on how to set this up...
ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php .phtml Action application/x-httpd-php "/php/php.exe"
See here: http://uk.php.net/manual/en/install.apache.php
If Apache 2, I'm not sure what they steps are, but I ask again, why can't you use the module?
[1] http://uk.php.net/manual/en/install.apache.php
-- Stuart
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php