Im trying to make a page on linux server and i will use some shell command in php
But there are some problems with my code, Shell command is not working
My web php is here
<?php
$list = shell_exec("ls");
echo $list;
$remove = shell_exec("rm -rf testFolder");
echo $remove;
?>
Thats all, list command is working on php but remove command is not working.
Also it's working from terminal well even safe_mode
is off
Do you know about this problem? (PHP version is 5.4 and i checked all config)