ispCP - Board - Support
[SOLVED] PHP CLI, cron - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] PHP CLI, cron (/thread-10072.html)



[SOLVED] PHP CLI, cron - Boter - 03-19-2010 08:49 AM

How can I enable CLI for php, for some user?

"Must be able to run PHP from the command line (CLI) with exec()"
and

Allowed execution of background processes with exec("binary > /dev/null &")

How to do that for some ispcp user? Is there already any way to add crons for the same user?


RE: PHP CLI, cron - gOOvER - 03-19-2010 08:52 AM

You can enable it in the php.ini of your costumer Smile

=> disabled_functions Wink


RE: PHP CLI, cron - Boter - 03-19-2010 09:01 AM

I removed exec, shell_exec, proc_open. should that do the trick?
Now I commented whole disabled_functions, but still can't create background process with php script


RE: PHP CLI, cron - kilburn - 03-19-2010 11:49 AM

Take a look at this thread...


RE: PHP CLI, cron - Boter - 03-19-2010 12:18 PM

Thank's for help, I figured it out. Some with your help, some on my own. You can close thread