Jump to content

How to find out if PHP is running in CLI interactive mode?


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.