By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,825 Members | 1,429 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,825 IT Pros & Developers. It's quick & easy.

When does the php interpreter loads the php file?

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** 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
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.