This PHP s!"=?iso-8859-1?q?=A7$=20is=20driving=20me?= insane!
Hi all I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs. I need to use exec, unlink, etc. BUT the durn PHP is stuck in "safe_mode" and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode as off, but when I use phpinfo() it is show on. Can anyone help? Thanks JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ BayerWulf Linux System # 129656 The Recycled Beowulf Project Looking for throw-away or obsolete computers and parts to recycle into a Linux super computer
On Thursday 29 August 2002 10:52, James Hatridge wrote:
Hi all
I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs.
I need to use exec, unlink, etc. BUT the durn PHP is stuck in "safe_mode" and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode as off, but when I use phpinfo() it is show on.
Can anyone help?
Thanks
JIM
Have you tried restarting apache? You might want to execute /etc/init.d/apache restart This should fix the problem for you. hth, Kevin
Kevin L Hochhalter said:
On Thursday 29 August 2002 10:52, James Hatridge wrote:
Hi all
I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs.
I need to use exec, unlink, etc. BUT the durn PHP is stuck in "safe_mode" and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode as off, but when I use phpinfo() it is show on.
Can anyone help?
Thanks
JIM
better to fix it in httpd.conf, e.g. <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec php_admin_value safe_mode 0 <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> -- regards, Frederik Vos www.vosberg.be
HI Frederik et al... This did not do a thing. Is this how you did it? Thanks JIM On Thursday 29 August 2002 18:39, Frederik Vos wrote:
On Thursday 29 August 2002 10:52, James Hatridge wrote:
Hi all
I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs.
I need to use exec, unlink, etc. BUT the durn PHP is stuck in "safe_mode" and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode as off, but when I use phpinfo() it is show on.
Can anyone help?
Thanks
JIM
better to fix it in httpd.conf, e.g.
<Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec php_admin_value safe_mode 0 <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory>
-- Jim Hatridge Linux User #88484 ------------------------------------------------------ BayerWulf Linux System # 129656 The Recycled Beowulf Project Looking for throw-away or obsolete computers and parts to recycle into a Linux super computer
In article <200208291952.07007.James.Hatridge@epost.de>, James Hatridge <James.Hatridge@epost.de> wrote:
I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs.
I need to use exec, unlink, etc. BUT the durn PHP is stuck in "safe_mode" and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode as off, but when I use phpinfo() it is show on.
In phpinfo(), where does it say php.ini is? Is this the same place as your php.ini? Nik
participants (4)
-
Frederik Vos
-
James Hatridge
-
Kevin L Hochhalter
-
Nik