Justin Cook wrote:
Before I came to my company, they created a Redhat server for our web server. Of course they let the redhat installer install PHP. It all works great but now I need to compile a module into php. Is this possible to do without causing havok? Bascially we really can't have more downtime that it would take to stop and start Apache.
Would the best solution be to download the php source, compile it into the
directory it is installed into now, but only compile with the new module or
will I need to compile it using the --with-apxs and all of the other modules
that it is already compiled with? I would rather not have to recompile with all
of the options that it is compiled with now.
I don't like redhat - I would take the time to build it manually (avoids redhat
from updating your php install)
steps to take:
1. download source
2. compile (with alll req. modules)
3. do a 'make test'
4. install
5. edit/check the relevant conf files.
6 restart apache
in theory your done, in practice something might bite you in the ass ...
oh and then there is the issue of making sure that the redhat package manager
really
won't overwrite your handbuilt php install (cannot for the life of me remember
what you have
to do to make redhat ignore the php install).
Thanks for you help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php