roguewarrior Posted February 1, 2010 Share Posted February 1, 2010 Hey guys New linux user here. I am running Red Hat 4 with php 5.2.1 currently installed. Everything is already configured and working perfectly, but I need to do an upgrade. I have the php-5.3.1.tar.gz (I cannot use yum or up2date), but am a little foggy on as the proper way to do the upgrade without wiping out my exisiting configuration settings. Also, does the directory in which the install is done matter? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/190543-php-531-install/ Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 You can set your configure options to install into the /usr/local directory (it will by default anyway) this way it shouldn't effect any package installed via a package manager (they normally install into /usr). Also, does the directory in which the install is done matter? I assume by install you actually mean compile? You can compile the package wherever you like. Quote Link to comment https://forums.phpfreaks.com/topic/190543-php-531-install/#findComment-1005306 Share on other sites More sharing options...
roguewarrior Posted February 2, 2010 Author Share Posted February 2, 2010 Is there any way to see what the previous configuration settings were during the compilation for 5.2.6? This was all said and done before I got here and I would like to do my best to keep it the same. From what I've found on the web, it will go something like this? # ./configure --[configuration settings] # make # make install Thanks, Thorpe. Your help is much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/190543-php-531-install/#findComment-1005488 Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 Create a script and call phpinfo in it. this will show you all the runtime and compile time configurations of your current install. Quote Link to comment https://forums.phpfreaks.com/topic/190543-php-531-install/#findComment-1005766 Share on other sites More sharing options...
roguewarrior Posted February 3, 2010 Author Share Posted February 3, 2010 PERFECT! Thank you Quote Link to comment https://forums.phpfreaks.com/topic/190543-php-531-install/#findComment-1006244 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.