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 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). 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
Archived
This topic is now archived and is closed to further replies.