subdomain php not working

Avatar
  • Answered
I had wiki.zymerinc.com 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 demo.zymerinc.com/phpldapadmin...

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 zymerinc.com to be able to run .php.

Please help.
Avatar
Scott
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
Avatar
Scott
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