subdomain php not working

  • Answered
I had working fine then I switched PHP version with 5.4 from PHP Configuration in the cPanel then some of the php pages were not working and instead, we were getting the download pop up window of the php codes...

I was in the middle of installing phpldapadmin on the

I switched the PHP version back to 5.3 from cPanel and restarted apache but still the same problem.

I want all of the subdomains under to be able to run .php.

Please help.
Hello Terrabyte,

No, the handler 'AddHandler application/x-httpd-php5 .php' for his server will cause it to go to the default 5.x on the server, which in this case is 5.3. It was just the way it was set up and seems a bit counter-intuitive, but it is a format left over from when the servers only had one version on them.

Kindest Regards,
Scott M
Hello, I see the code in the .htaccess file reads as follows:
AddHandler application/x-httpd-php53 .php
Try changing it to simply:
AddHandler application/x-httpd-php5 .php
Kindest Regards, Scott M