2levelsabove Posted February 4, 2010 Share Posted February 4, 2010 Hello all, I am trying to use PHP autoloading (http://php.net/manual/en/language.oop5.autoload.php) and for it to work it says Autoloading is not available if using PHP in CLI interactive mode. How do I find out if my PHP is in that mode or not? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/190981-how-to-find-out-if-php-is-running-in-cli-interactive-mode/ Share on other sites More sharing options...
trq Posted February 4, 2010 Share Posted February 4, 2010 Are you using php via the command line (term)? If not, you can ignore the above. You would be using php in interactive mode via php -r on the command line (term). Quote Link to comment https://forums.phpfreaks.com/topic/190981-how-to-find-out-if-php-is-running-in-cli-interactive-mode/#findComment-1007103 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.