NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP 4 and PHP 5 on One Apache 1.3.x Unix Installation

Peter Sawczynec ps at pswebcode.com
Fri Jul 14 09:55:45 EDT 2006


Assuming that I have successfully installed safe and separate PHP 4 and PHP
5 on a Unix box 
running Apache 1.3.x. And that I have included and compiled in all the
extensions/libs that I need 
under both (and that I am fully aware of the MySQL, XML and OOP support
issues).
 
In order to switch from PHP 4 to PHP 5, can I simply go into the Apache
httpd.conf file 
and change the directive:
"LoadModule php4_module        libexec/libphp4.so"
to
"LoadModule php5_module        libexec/libphp5.so"
 
Then do a graceful reboot on Apache.
 
So again I'm not concerned with individual scripting compatability issuews,
but do you see this strategy as 
technically sound to allow me to flip back and forth between PHP 4 and PHP
5, if I so needed?
 
Warmest regards,
 
Peter Sawczynec,
Technology Director
PSWebcode
_Design & Interface
_Ecommerce
_Database Management
ps at pswebcode.com
718.796.1951
www.pswebcode.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060714/a9a9aae2/attachment.html>


More information about the talk mailing list