CLI versus apache module
| From: | Khai | Date: | Wed, 15 Mar 2006 23:44:41 +0000 |
| Subject: | CLI versus apache module | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231983@lists.php.net to get a copy of this message | ||
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