This is a discussion on When does the php interpreter loads the php file? within the PHP Language forums, part of the PHP Programming Forums category; Hi All, I'm wondering three facts about php, apache and apache module. 1.How can i differentiate the php ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi All,
I'm wondering three facts about php, apache and apache module. 1.How can i differentiate the php intepreter if it's running as a apache module or as cgi? 2.When does the php interpretor loads the php file to main memory? 3.and till when it keeps the php file on memory? - in my experience only after installing Zend it caches the php file. Thak you |
|
|||
|
*** Kim Gijung wrote/escribió (20 Oct 2004 00:03:35 -0700):
> 1.How can i differentiate the php intepreter if it's running as a > apache module or as cgi? If I recall correctly phpinfo() calls it "Server API". > 2.When does the php interpretor loads the php file to main memory? In a web page, when the file is requested. In a command line script, when the file is executed. > 3.and till when it keeps the php file on memory? Until the execution ends. > - in my experience only after installing Zend it caches the php > file. Right, if you aren't using a cache the file is not cached. -- -- Álvaro G. Vicario - Burgos, Spain -- Thank you for not e-mailing me your questions -- |