Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 837015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:04:38+00:00 2026-05-15T05:04:38+00:00

Say I am running a PHP script, foo.php, inside apache configured with mod php,

  • 0

Say I am running a PHP script, foo.php, inside apache configured with mod php, then, say I invoke the script from my browser(or any other means), does apache spawn off a new process in which the script gets executed? How does it work? Can someone pls point me to some good article on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:04:39+00:00Added an answer on May 15, 2026 at 5:04 am

    does apache spawn off a new process in
    which the script gets executed? How does it work?

    No, not each time. With mod_php, each httpd child process will have its own PHP interpreter. When a PHP page is requested, the child process hands off the PHP to the interpreter and sends the output back to the visitor. After the request is finished, the child process remains in memory awaiting another request.

    I’m not sure if there are articles that explain the internals of mod_php. This information will be somewhat general to all modules of this type. There are, however, many articles on speed comparisons between mod_php, fastcgi, suphp and others, if this is your concern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

say a ruby script is running ruby.rb SOMEUSERID using PHP, how can i find
Say I have a subdomain xxx.yyy.com running Apache. The files are stored in /home/someone/public_html/xxx
Let's say I have 10 threads running simultaneously. Is there any way of calling
I'm getting about 500 rows back from a DB that my PHP script connects
There is this situation: Wampserver is running A PHP script is running (set_time_limit(0), endless
I have an existing PHP app running on Apache server. Question, is it possible
Just say I have a file configuration.xml that a php script needs to parse
The server my PHP script is running on is set to UTC. I can't
I have a Win7 machine running PHP/MySQL/Apache and I have MySQL Administrator, MySQL Manager
Let's say I'm running a hosted service that wishes to allow plugins written by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.