This is a discussion on How to Upgrade to PHP 4.3.10 in RH9 within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I know how to install programs (configure, make, make install, etc.), but exactly how does one UPGRADE an existing PHP ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I know how to install programs (configure, make, make install, etc.),
but exactly how does one UPGRADE an existing PHP installation? The php.net site and pretty much anywhere else I've looked does not say anything except to recommend upgrading. They give no instructions at all. My Linux books are no help with this, and searching the newsgroups has turned up nothing but recommendations to go to php.net ... which has no such instructions. I ask because simply installing the new version of PHP has killed my server. I can't get the httpd process to start. So, please, can someone post a step-by-step set of instructions for upgrading an existing PHP installation? You will be the first to do so, as far as I can determine. Thank you very much. |
|
|||
|
On 22 Dec 2004 10:44:02 -0800, stupidscript@hotmail.com wrote:
>I know how to install programs (configure, make, make install, etc.), >but exactly how does one UPGRADE an existing PHP installation? In the same way. At least, that's how I do it, and I'm not aware of another way, unless you're installing from some sort of package e.g. rpm. >The php.net site and pretty much anywhere else I've looked does not say >anything except to recommend upgrading. They give no instructions at >all. My Linux books are no help with this, and searching the newsgroups >has turned up nothing but recommendations to go to php.net ... which >has no such instructions. > >I ask because simply installing the new version of PHP has killed my >server. I can't get the httpd process to start. What error do you get? >So, please, can someone post a step-by-step set of instructions for >upgrading an existing PHP installation? They're pretty much the same as installing. -- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
*** stupidscript@hotmail.com wrote/escribió (22 Dec 2004 10:44:02 -0800):
> I ask because simply installing the new version of PHP has killed my > server. I can't get the httpd process to start. I once tried (with no success, actually). If you upgrade PHP you must also upgrade Apache (to 2.4.50 or greater), the Apache modules, openssl and quite a lot of libraries. It's crazy. -- -- Álvaro G. Vicario - Burgos, Spain -- Thank you for not e-mailing me your questions -- |
|
|||
|
stupidscript@hotmail.com writes:
> I know how to install programs (configure, make, make install, etc.), > but exactly how does one UPGRADE an existing PHP installation? > > The php.net site and pretty much anywhere else I've looked does not say > anything except to recommend upgrading. They give no instructions at > all. My Linux books are no help with this, and searching the newsgroups > has turned up nothing but recommendations to go to php.net ... which > has no such instructions. > > I ask because simply installing the new version of PHP has killed my > server. I can't get the httpd process to start. > > So, please, can someone post a step-by-step set of instructions for > upgrading an existing PHP installation? > > You will be the first to do so, as far as I can determine. > Thank you very much. > We do this all the time and it is usually not a problem. You don't really 'upgrade' your existing installation. Just download the complete new version of php -- reapply any modules you might have added and run configure with the proper options. If you want to check to see how your old one was build just give invoked the phpinfo() function and it will display that information. After you build the new php (which is in libphp4.so if you are doing dynamic libraries) -- you just stop Apache, copy the new libphp4.so file to the apache libexec director (where you should save the old libphp4.so file to a new name), and then restart the server. If you are still having problems, please post the entries from the apache error log. We are still running the 1.3.x version of apache servers, may be a bit different with 2.0.x Hope this helps. -- John __________________________________________________ _________________ John Murtari Software Workshop Inc. jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM) http://thebook.com/ |