Greetings,
I'm not sure if this is the right place to ask, but here it goes...
We have a multihosted environment for apache/php and we try to accept
all requests to add new php extensions.
The problem is that each apache process is using now 20MB of memory...
We compile apache with shared object (SO) support for php (and
everything else). The php modules are static, but we are planning to
chang this to SO as well.
Since just a few users will use some of the extensions, is it an
overkill to load all php extesions with the web-server startup
Aparentely, the SO support for php does not load the extension libraries
in runtime (as needed), but it loads them in the startup.
I know one could use the function dl(), but this is out of question
because too much code have to be rewritten.
What could be to ease up the memory usage?
I'm not a good coder, but maybe I could help to write something like a
dl() for loading a library just as needed...
If someone could give me a feedback if there is another way to do what I
need, or which part of the code I should look at (I just never even
looked into php source :))
Thanks
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP-DEV] loading modules Gustavo A. Baratto
- Re: [PHP-DEV] loading modules Andi Gutmans