[PHP] CLI versus apache module

2006-03-15 Thread Khai
I have a.php includes b.php . b.php is used by other pages that are served through apache. a.php used to be started through apache, but now need to be started from command line. How do I know if a php file is running as apache module or as CLI ? Thanks Khai -- PHP General Mailing List

Re: [PHP] CLI versus apache module

2006-03-15 Thread Philip Hallstrom
I have a.php includes b.php . b.php is used by other pages that are served through apache. a.php used to be started through apache, but now need to be started from command line. How do I know if a php file is running as apache module or as CLI ?