Hello ,
         I have Apache  compiled for Prefork MPM and PHP as Loadable module 
    on Redhat LINUX 7.3.
1. I have a PHP extension module which is added in the "extension=mymodule.so" 
    directive of php.ini.
2. Now when Apache starts it will load the PHP module, which in turn will load the 
   PHP   extension "mymodule.so". mymodule.so is in turn calling functions from 
another 
   library called "myfunctions.so" and is linked with it during compilation.So  the 
   path of function calls is Apache -> libphp4.so -> mymodule.so -> myfunctions.so
3. I have a "test.php" script which calls functions from the extension module.
4. If I run the script paralelly from 200 browsers then new httpd processes will be 
   spawned due to the load.
  My question is that :
      Will these newly created httpd processes reload the extension module mymodule.so 
and myfunctions.so for  themselves OR use the extension module which was loaded during 
startup of the Apache server ? What will happen in case of CGI?
    Thanks & Regards
Ashish  
 


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to