Add .php3 as a PHP AddType extension?
I had this running fine on EasyApache3 but upgraded cPanel and now my .php3 files are being shown as text source to visitors.
How do I make it so Apache parses those as PHP files?
I am using CloudLinux as well and the sites are using the selector.
-
Hello, Since you are using PHP selector, you should be able to add an entry like this to the .htaccess file within the document root of the website: AddType application/x-httpd-php70 .php3
Ensure to replace "php70" with the version of PHP enabled in the directory: Different PHP versions per directories using PHP Selector Thank you.0 -
very good, thanks @cPanelMichael 0
Please sign in to leave a comment.
Comments
2 comments