Hi, I have a exec/system problem. I want to execute a php script in background. I tested with exec("php script.php > /dev/null 2>&1 &") On my server works fine (i use cPanel) but on other server that have directadmin this not works. When i try echo exec("php -v") i get only a 127 return and no php version text. I compared the results from phpinfo() and I did not find something to change to make it works. When i try: system("whereis php",$out);echo $out; on the good server i get: php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php /usr/lib/php.ini /usr/local/bin/php /usr/local/lib/php /usr/local/lib/php.ini /usr/include/php /usr/man/man1/php.1 0 and the server where is not working: php: /usr/local/man/man1/php.1 0 In my phpinfo() on the server that works I don't see CLI extension enabled. (if this is the problem) Which settings do I have to change to make this works ? Thanks Radu PS: safe_mode is off on both servers