How to Upgrade to PHP 4.3.10 in RH9

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-22-2004
stupidscript@hotmail.com
 
Posts: n/a
Default How to Upgrade to PHP 4.3.10 in RH9

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.

Reply With Quote
  #2 (permalink)  
Old 12-22-2004
Andy Hassall
 
Posts: n/a
Default Re: How to Upgrade to PHP 4.3.10 in RH9

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
Reply With Quote
  #3 (permalink)  
Old 12-23-2004
Alvaro G Vicario
 
Posts: n/a
Default Re: How to Upgrade to PHP 4.3.10 in RH9

*** 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
--
Reply With Quote
  #4 (permalink)  
Old 01-03-2005
John Murtari
 
Posts: n/a
Default Re: How to Upgrade to PHP 4.3.10 in RH9

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0