PHP Installations - and my confusions?
Hi All,
Simple one really i'm sure. Just wondering if it is necessary to re-compile PHP everytime you want to add a new module or if using something like the --with-config-file-scan-dir=/usr/php.d/confs
Or whatever (obviously not that path. but you get the idea...). I'm basically wondering that to add a new module does it really need an php re-compile everytime or is it more that you can compile the module is some method ('shared' perhaps?) and then use the [modulename].ini with extesion=blah.so etc. So once apache restarted the module is usable. I'm thinking along the lines similar to how apache and DSO's work?
I'm hoping that makes sense... perhaps there is a better how to than the php installtion guide because that didn't seem to talk about this option at all, and did say that a recompile is nessasary everytime... i just wanted to check.
And to find out exactly what this is all about... --with-config-file-scan-dir=[blah]. Because otherwise it looks like something that will be just for adding the words extension=blha.so rather than just adding it into the php.ini file anyways.
Cheers,
M
Last edited by lin*x; 11-20-2009 at 07:46 AM.
|