Hello,
I got a problem with a domain on Plesk 12.5.
When I try to open a php file which is hosted on a particular domain (and only there!) my browser offers me to download the file. Other domains inside the same subscription and other domains on other subscriptions are not affected, it's only on this one domain. PHP is activated for this domain, and always was and worked until now, so this seems a little strange.
I already tried to fix it by running the following command:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain mydomain.com
The httpd.conf which belongs to the domain (in the conf folder next to the httpdocs and log folders) changed in size and date, so I think Plesk did something to the config. After restarting the Apache service (I think this is necessary after modifying a httpd.conf file, isn't it?) I tried it again and nothing changed, php files still are offered to be downloaded.
As I am new to Plesk I don't have any idea what else I could to, i.e. which config files I could check. I want to avoid setting up the whole subscription from scratch as there are a lot of email accounts and other domains (that forward to this one) involved which I would have to recreate then. Or is it possible to back up only the email and domain stuff and restore it after the domain is recreated?
Thanks for your help!
Regards, Mike
I got a problem with a domain on Plesk 12.5.
When I try to open a php file which is hosted on a particular domain (and only there!) my browser offers me to download the file. Other domains inside the same subscription and other domains on other subscriptions are not affected, it's only on this one domain. PHP is activated for this domain, and always was and worked until now, so this seems a little strange.
I already tried to fix it by running the following command:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain mydomain.com
The httpd.conf which belongs to the domain (in the conf folder next to the httpdocs and log folders) changed in size and date, so I think Plesk did something to the config. After restarting the Apache service (I think this is necessary after modifying a httpd.conf file, isn't it?) I tried it again and nothing changed, php files still are offered to be downloaded.
As I am new to Plesk I don't have any idea what else I could to, i.e. which config files I could check. I want to avoid setting up the whole subscription from scratch as there are a lot of email accounts and other domains (that forward to this one) involved which I would have to recreate then. Or is it possible to back up only the email and domain stuff and restore it after the domain is recreated?
Thanks for your help!
Regards, Mike