Article ID: 1345, created on Oct 6, 2008, last review on Apr 16, 2012

  • Applies to:
  • Plesk 7.5.x Reloaded


Gallery requires safe_mode to be switched off.

Since Plesk 8 safe_mode can be managed for every domain through Plesk at the CP -> Domains -> domain.tld -> Setup page. Looks for safe_mode checkbox right from 'PHP support'.

In Plesk 7.5 you can switch safe_mode off by editing /etc/php.ini file:

safe_mode = Off

restart Apache then.

Or safe_mode can be disabled per domains basis using vhost.conf. For example to disable safe_mode for domain.tld add the lines like below into the domain's vhost.conf:

<Directory /var/www/vhosts/domain.tld/httpdocs>
php_admin_flag safe_mode off

After vhost.conf creation `/usr/local/psa/admin/sbin/websrvmng -a -v` utility should be run.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 097728dc0a325f6309aa7a3997d4cacc 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF