Re: upgrade php

From: Date: Thu, 08 Jul 2004 21:52:12 +0000
Subject: Re: upgrade php
Groups: php.install 
Request: Send a blank email to php-install+get-13826@lists.php.net to get a copy of this message
>>I have a php 4.2.2 on RH 9. I need to upgrade it to at leat 4.3.2 (or >>higher). But I have no idea where to start. Please give me a hand. >>Thanks in advance! > rpms? or did you build it yourself? either way, you'll need to rebuild, > upgrades are esentially a recompile. or if there is a method to upgrade, > i've never searched it out(in 5 years), as i like to know that the > build/install was clean. and i usually keep the build directory (n/a with > rpm) around so i can compile additional libs, thankfully php is smart > enough to do only the differences. Sorry - that should have been clearer - I keep the current relase build around so it can be modified. But when i upgrade i just untar a new php to a directory and rebuild with the same configure string that you can find in your current phpinfo() output. (granted as the times change...so does the configure string) If you're running a live server, certian percautions, obviously, must be taken and apache(?) restarted after php is rebuilt. PS. Would anyone else be willing to re-regisiter for this if we could get rid of the mega-spam that comes after each post. Is that a doable option? This as always been a good list, but has diminished since spam got heavy. > be careful with any scripts that may have used auto registered globals, > which was just changing(but i think was changed) in 4.2.2. $postedvar > becomes $_POST['postedvar']. hth jeff

« previous php.install (#13826) next »