Blogvaria

This page is brought to you by Blogvaria (http://blog.evaria.com).

To obtain more information, ask questions and interact please visit our website.

Back to Blogvaria landing page
Feedback
Subscribe
   
Blogvaria

 

The personal pages

Update PHP5 in 30 seconds

TrackBack | Filed by Thomas under Internet stuff, Programming | Post popularity 5%

Just a few hours ago I updated PHP from version 5.2.2 -> 5.2.3. Excluding the time it takes to download and unpack the latest build it took me less than half a minute to complete the update.

Note! These instructions are only applicable if you are running a local web server on Windows AND followed my instructions on how to install PHP5 on windows.

1. Get the latest version…

  • Grab the latest Windows binary zip package (PHP 5.2.3)
  • Unzip it to e.g. C:\php523

2. Start speed installation…

  • Copy php.ini from C:\php5 to C:\php523 (temp dir from above)
  • Rename C:\php5 to C:\php5-old
  • Rename C:\php523 to C:\php5
  • Click on the Apache tray icon, open the menu and choose Restart

3. Verify and clean…

  • Verify that your server is up-to-date; phpinfo().
  • If success, delete C:\php5-old and all files and sub-directories.

That’s it, you’re done :)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • De.lirio.us
  • digg
  • Furl
  • NewsVine
  • Netscape
  • Reddit
  • Spurl
  • SphereIt
  • Technorati
  • YahooMyWeb
  • DZone
  • feedmelinks
  • Linkter
  • Ma.gnolia
  • Slashdot
  • StumbleUpon
  • TailRank
  • co.mments

No comments yet.

Leave a Comment

Akismet has protected Blogvaria from 71,721 spam comments. Design by Evaria.com. Powered by WordPress.
Our beloved and trusted server has rendered 3.284 pages so far today, an amazing 4.008 pages yesterday
and even more astonishingly 102.934 pages since 12 September 2008 alone without dropping a byte nor a pixel.

Close
E-mail It