chopps Posted May 20, 2010 Share Posted May 20, 2010 Hello all, I am currently running LAMP on a Debian Distro with SliceHost. I am tryin to upgrade from php 5.2.6-1 to 5.3.2 to take advantage of Late Static bindings but I am not very Linux Savvy. Everything I found online said I would have to re-compile the source for php 5.3.2 but I have no idea of how to do this. Also, I'm not quite sure how this will affect the LAMP stack. If anyone could give me some guidance or maybe a step-by-step explanation on how to compile php it would be much appreciated. Link to comment https://forums.phpfreaks.com/topic/202425-upgrading-from-526-1-to-532/ Share on other sites More sharing options...
trq Posted May 21, 2010 Share Posted May 21, 2010 Follow these instructions to add a more up to date LAMP repo to your list of repositories then upgrade php. Link to comment https://forums.phpfreaks.com/topic/202425-upgrading-from-526-1-to-532/#findComment-1061432 Share on other sites More sharing options...
chopps Posted May 21, 2010 Author Share Posted May 21, 2010 Thanks for the info Thorpe. Unfortunately, it didn't work I added those URL's to sources.list like it said and apt-get update. I then ran the apt-get upgrade php5 command and everything appeared to be working but it looks like it only upgraded my mysql database from 5.0 to 5.1. I restarted apache and even stopped it completely and started it back up but every time I go to my phpinfo page it still reads "PHP Version 5.2.6-1+lenny8". Also I didn't notice any php packages get updated when i ran the upgrade command. Any more suggestions ? Link to comment https://forums.phpfreaks.com/topic/202425-upgrading-from-526-1-to-532/#findComment-1061706 Share on other sites More sharing options...
chopps Posted May 21, 2010 Author Share Posted May 21, 2010 Is there a way to make it to look in http://php53.dotdeb.org/dists/stable/php5/binary-i386/ and force the upgrade? I can see that packages are clearly there it just won't pick them up for some reason. Also, I forgot to mention I removed some other URL's from my sources.list file thinking that maybe one of them was conflicting or something (Again - Not linux savvy) but this seemed to have no affect either. Link to comment https://forums.phpfreaks.com/topic/202425-upgrading-from-526-1-to-532/#findComment-1061710 Share on other sites More sharing options...
chopps Posted May 23, 2010 Author Share Posted May 23, 2010 Wuhoo! Thanks for the help. I was able to successfully upgrade using apt-get install php5 and it automatically updated using the newer packages. Link to comment https://forums.phpfreaks.com/topic/202425-upgrading-from-526-1-to-532/#findComment-1062215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.