Page 1 of 1

PHP in Local safe mode?

Posted: Mon Jan 13, 2003 4:34 am
by clothahump
I am seriously hoping there is someone about that can help me.
How do I turn off local safe mode?
These are the current settings.
http://www.eheim-uk.com/phpinfo.htm

Posted: Mon Jan 13, 2003 4:39 am
by twigletmac
Is this your own, or a hosts server?

Mac

Posted: Mon Jan 13, 2003 4:42 am
by clothahump
The server is leased.

Posted: Mon Jan 13, 2003 4:45 am
by twigletmac
If you have access to the php.ini then the settings can be changed there:
http://www.php.net/manual/en/features.safe-mode.php

Mac

Posted: Mon Jan 13, 2003 4:47 am
by clothahump
I am php illiterate, so do I just configure php_ini the same as shown in the link?

Posted: Mon Jan 13, 2003 4:51 am
by twigletmac
Adjusting the values to the defaults should un-safe_mode the server. I would assume (having never used safe mode) that changing:

Code: Select all

safe_mode = On
to

Code: Select all

safe_mode = Off
should make it go away.

Mac

Posted: Mon Jan 13, 2003 4:53 am
by clothahump
Mac, the problem is that Global is OFF, Local is ON.

Posted: Mon Jan 13, 2003 5:21 am
by twigletmac
Apparently (I have to run PHP on IIS so I don't get to play with this stuff) you can set PHP config variables in Apache's configuration files, so maybe the guys who set up your server hid the stuff there:
http://www.php.net/manual/en/configuration.changes.php

Mac

Posted: Mon Jan 13, 2003 6:33 am
by clothahump
Unable to reach Apache config or php config, owners have got us locked out of those areas.

Posted: Mon Jan 13, 2003 6:46 am
by clothahump
If I can get a new conf file and drop it in here would it work?
/etc/httpd/conf

Posted: Mon Jan 13, 2003 2:59 pm
by clothahump
Any Ideas?

Posted: Fri Jan 17, 2003 6:41 am
by clothahump
If I replace the php.ini file with the new one available from php.net and restart the server will it cure this problem?
We are getting totally fed up with the whole thing.
One of the web sites on the server is unable to install phpBB2 because of the same problem.
HELP.

Posted: Fri Jan 17, 2003 7:07 am
by volka
I'm not entirely certain but wouldn't make too much sense otherwise.
Some settings can only be done in the global php.ini or global httpd.conf and safe-mode settings are certainly amongst them. So my answer is: not without access to the global config-files and/or apache-start-scripts.