I really would like to move over to the phpsuexec option so we can more efficiantly hunt down abusers and spammers, etc. Only problem is, myself as well as a couple of clients are running php within html documents. That is to say, the documents are tittled for instance: index.html and we use the following directive in .htaccess to execute the php:
AddType application/x-httpd-php .php .html .htm
Now, with phpsuexec enabled, I get a 500 error on the document. I had a look in the suexec logs and the apache error logs and came to the conclusion that the phpsuexec wrapper wasn't wrapping these documents, so i added #!/usr/bin/php to the top to test out my theory and it worked.
Only problem is, I don't want to have to go through all the documents and add this line.. i might as well waste my time moving everything to .php which i really can't be bothered to do.
Does anyone have any idea how i can get phpsuexec to recognize these files?


LinkBack URL
About LinkBacks
Reply With Quote