PHP files not rendered
Posted: Tue Jul 14, 2015 1:58 am
I've installed ntPHPSelector and chosen to have a directory use PHP 5.5 ( the server's default is 5.3 )
The .htaccess file is added correctly to the directory chosen, and contains only the following:
AddHandler application/x-httpd-php55 .php55 .php
When browsing the php files placed in the directory chosen, the browser does not display the page as expected, but prompts the user to download the file. When opened, the downloaded file shows the php source code.
The suphp log file just shows that the file was processed. ( [info] Executing ... )
There are no errors in the apache log, the response code is 200.
PHP files using the standard x-httpd-php handler work fine.
The setup is cPanel with WHM 11.50.0 (build 23)
Apache 2.2.21
Any ideas why the PHP files are not being processed?
Thanks
The .htaccess file is added correctly to the directory chosen, and contains only the following:
AddHandler application/x-httpd-php55 .php55 .php
When browsing the php files placed in the directory chosen, the browser does not display the page as expected, but prompts the user to download the file. When opened, the downloaded file shows the php source code.
The suphp log file just shows that the file was processed. ( [info] Executing ... )
There are no errors in the apache log, the response code is 200.
PHP files using the standard x-httpd-php handler work fine.
The setup is cPanel with WHM 11.50.0 (build 23)
Apache 2.2.21
Any ideas why the PHP files are not being processed?
Thanks