• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

changing PHP settings does not work

Y

YavannyY

Guest
Hello everybody,

I have a problem to change the php settings for a subdomain. For example I tried to change the safe_mode setting. I created the file vhost.conf in the /conf folder under the subdomain path with the entry php_admin_flag safe_mode off. After that /usr/local/psa/admin/bin/websrvmng -a -v and apache restart. But the safe_mode is still on. It is not the first time I changed the php settings in this way but now I have the problem with every subdomain I create. The httpd.include of the domain seems to be ok: the path to the vhost.conf for the subdomain is correct.
The Plesk Version is 9.3. and I did no upgrade before.
PHP Version 5.2.4-2 and Ubuntu 5.10
I use the setting php_apache module for the subdomain

Does anybody have an idea to solve the problem?
 
Try disabling safe_mode for the parent domain - it should fix it. It's not really a solution per se, but rather a workaround.
 
Back
Top