How can I enable cli?
I have an application that has the ability to run PHP scripts via CLI.
In the status of the script, I see this message: Managing processes via CLI: not supported (optional)
Is there anything I need to do to enable CLI?
php -v
PHP 5.4.33 (cli) (built: Oct 2 2014 22:59:25)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
-
Hello :) Are you running this option from the command line? What handler are you using for PHP (e.g. DSO, suPHP)? Thank you. 0 -
]Hello :) Are you running this option from the command line? What handler are you using for PHP (e.g. DSO, suPHP)? Thank you.
Hello, suPHP is my handler. It would be a cron that would run a script and they suggested using CLI.0 -
You can simply use /usr/local/bin/php for the cron job. More information about this is found here: PHP Compilation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments