DSO handler. PHP files being served raw instead of executing
Hello All,
We used to run this as DSO and we now have to go back to it.
We tried using suPHP but it isn't working very well with our current setup.
One problem that I'm having is that when I switch to DSO handler in WHM all PHP files are being served as download files instead of being executed by PHP. Do you know why this is and how I can fix it?
We have tampered a bit with httpd.conf but not a lot. The following line is already in httpd.conf:
AddHandler application/x-httpd-php5 .php
Any thoughts?
Thanks very much in advance!
Tim
-
Hello :) You actually shouldn't add the "AddHandler application/x-httpd-php5 .php" line to the Apache configuration file. Please remove the entry using the same method you used to add it, and rebuild the Apache configuration file via: /scripts/rebuildhttpdconf
Let us know if the issue persists. Thank you.0
Please sign in to leave a comment.
Comments
1 comment