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

Link to comment
Share on other sites

 

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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