Page 1 of 1

Safe Mode

Posted: Sat Jun 17, 2006 10:52 pm
by Paul
I'm sure this is a very simple question for those that know.

I've a test server running plesk 8 (formally 7.5.4) and I've updated it several times using Yum and this site as the source. Somewhere along the line my PHP has decided to run in safe mode, and looking at phpinfo() it shows '--enable-safe-mode' as part of the /configure section.

This is not something I have done (or even know how to do) - is this how the php package has been built here, or is there something on my server, or in the update process, that I'm missing.

I don't want to run in safe mode but my limited linux knowledge means I don't know how to fix this.

Any help or is insight appreciated. :)

Posted: Sun Jun 18, 2006 5:37 am
by breun
PHP safe mode is controlled globally by the safe_mode setting in /etc/php.ini. I recommend setting safe_mode on (Plesk 8 sets this automatically by the way). You can disable safe_mode for a particular domain if you need to by creating a vhost.conf file or directly through Plesk if you're running Plesk 8.

Posted: Sun Jun 18, 2006 11:30 am
by Paul
breun wrote:PHP safe mode is controlled globally by the safe_mode setting in /etc/php.ini. I recommend setting safe_mode on (Plesk 8 sets this automatically by the way). You can disable safe_mode for a particular domain if you need to by creating a vhost.conf file or directly through Plesk if you're running Plesk 8.
Sorry, but I don't need safe mode :)

I didn't know that setting existed in plesk 8 and that was the problem, all working as expected now. :)