Jump to content

upgrading from 5.2.6-1 to 5.3.2


Recommended Posts

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

 

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 ?    :)

 

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. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.