On Sat, 2003-11-01 at 12:19, J. C. Woods wrote: > What has changed in Mandrake's Apache2 (using current release > apache2-2.0.47-1.4.91mdk on 9.1) with reference to running php scripts? I > have a php script that run very well on Mandrake's Apache-1.3.26-6.1mdk > running on 9.0. But it is kicking out some errors when I run the script on > the apache2 version running on the 9.1 box. Examples: > > Warning: shell_exec() [function.shell-exec]: Cannot execute using > backquotes in Safe Mode in /var/www/html/nqt.php on line 176 > > Warning: shell_exec() [function.shell-exec]: Cannot execute using > backquotes in Safe Mode in /var/www/html/nqt.php on line 317 > > (as mentioned before, no such errors when running same script on > apache-1.3.26-6.1mdk) > > Now I can see that this has something to do with processing backticks (`) > with something called "Safe Mode" but after some google work, I am still > in the dark. Can you suggest some correction or point me in a direction > that would provide some insight. My thought is that a php script that runs > on one version of apache should run all all versions of apache. Thanks. > (If you want to take this offline, and have me send you the php script, > just let me know.) > > Craig
cd /etc/ vi php.ini and set safe_mode off James > > J. Craig Woods > UNIX Network/System Administration > http://www.trismegistus.net/resume.htm > Entropy requires no maintenance. > > > ______________________________________________________________________ > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
