2

When running PHP programs using mod_php, when does PHP call its extension's MINIT functions? Does this happen

  1. When the apache web server restarts?

  2. Whenever apache spins up a new thread pool to handle PHP requests?

  3. Whenever apache spins up a new individual thread?

  4. Some other time?

Bonus questions: Is the mod_php source included as one of the PHP SAPI handles? (apache2handler?)

If so, is there a place in its source code I could have discovered the answer to my above question?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.