Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7411 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17805 invoked by uid 1010); 30 Jan 2004 07:24:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17754 invoked from network); 30 Jan 2004 07:24:21 -0000 Received: from unknown (HELO web60508.mail.yahoo.com) (216.109.116.129) by pb1.pair.com with SMTP; 30 Jan 2004 07:24:21 -0000 Message-ID: <20040130072420.74549.qmail@web60508.mail.yahoo.com> Received: from [211.21.114.38] by web60508.mail.yahoo.com via HTTP; Thu, 29 Jan 2004 23:24:20 PST Date: Thu, 29 Jan 2004 23:24:20 -0800 (PST) To: internals@lists.php.net Cc: ramsub@opussoft.com, praveentm@opussoft.com, vaish@opussoft.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1395914271-1075447460=:72115" Subject: Apache + PHP extension modules + Prefork MPM From: ashish_php2003@yahoo.com ("ashish b\\") --0-1395914271-1075447460=:72115 Content-Type: text/plain; charset=us-ascii 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! --0-1395914271-1075447460=:72115--