March 24th, 2002, 05:27 PM
configuration error i supose
I tried to run gzip from php script with
but it doesn't work
i have tried in many ways also with full paths
it never returned me anything...no error...nothing
i have even tried
$out = system("ls -la 2>&1");
$out = system("/usr/bin/ls -la 2>&1");
if i tried backtick `
$out = `ls -la`;
then i got error:
Warning: Cannot execute using backquotes in safe mode in /var/www/site/test2.php on line 2
I have checked php.ini if there is some restriction for these functions but nothing....
I am desperate...is there anything wrong on my server..maybe in httpd.conf...I checked it but i am no linux expert so i rather don't tuch things i don't know...
Last edited by djcybex; March 24th, 2002 at 05:41 PM.
March 24th, 2002, 09:40 PM
found the solution
in httpd.conf this was on:
php_admin_flag safe_mode ON
now i set it OFF and it is working!