Can someone advise me how to configure my httpd.conf to run the php files in CGI mode without having to put the header #!/usr/local/bin at top. This header is being printed in the output of my web pages. Plus it causes a little incompatibility in distributed php packages.
I'm runing Apache in a multi-user environment with suexec configured.
I added the following line to try to replace having to put the header in my php files to the httpd.conf file:
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/usr/local/bin/php"
Thanks in advance for any suggestions or comments.
-- L. James
L. D. James
ljames@apollo3.com
http://www.apollo3.com/~ljames