How To Upgrade Wamp to PHP 5.3.4

December 13, 2010
by Julian

1.    Stop WAMP server.
2.    Go to windows.php.net and download the the latests ZIPPED package for php5.3.4.
Make sure it is the VC6 Thread Safe build. DO NOT DOWNLOAD THE INSTALLER.
3.  Create a folder php5.3.4 into wamp/bin/php
4.  Extract the downloaded zip to the newly created php5.3.4 folder

5.  Copy the files:
-  php.ini
-  phpForApache.ini
-   wampserver.conf
from your existing php5.3 (eg.   wamp/bin/php/php5.3.3) folder to the new php5.3.4 folder.
6.  Open the files:
-   php.ini
-  phpForApache.ini
and search/replace the string 5.3.3 with 5.3.4
7.   Go to wamp/bin/apache/apache/apache2.2.11/bin and delete the file called php.ini
8.   Restart WAMP server.
9.   Choose php version 5.3.0
10.   Restart WAMP server.
11.   Now choose php version 5.3.4 .
12.   Check if PEAR path is correct in php.ini , and modify accordingly.
13.   Restart WAMP server.
14.   Enjoy.

This entry was posted in Best Practice, PHP Development. Bookmark the permalink.

16 Responses to How To Upgrade Wamp to PHP 5.3.4

  1. Pingback: 2803, le blog web 2.0, Internet et technologies - Wordpress Video Tutorials

  2. Pingback: Creating my wordpress theme while still keeping my current one up? - Wordpress Video Tutorials

  3. BT May 1, 2011 at 11:14 pm

    It says “Choose php version 5.3.0″ – so…. how do you do that? And/or what does it mean?

  4. Julian May 2, 2011 at 7:28 am

    “Choose php version 5.3.0″ mean: right click on wamp icon, PHP, choose PHP 5.3.0

  5. Marouane May 10, 2011 at 2:35 pm

    Hi, Firstly Thanks for this helpful topic
    i’ve stoped in the step number 12 “Check if PEAR path is correct in php.ini , and modify accordingly.” my wamp server now in yellow color when i went to php.ini “right click on wamp icon, i’ve chosen PHP, and click on php.ini” i’ve searched for PEAR and i’ve found this paragraphe :
    ; UNIX: “/path1:/path2″
    ;include_path = “.:/php/includes”
    ;
    ; Windows: “\path1;\path2″
    ;include_path = “.;c:\php\includes”
    ;
    ; PHP’s default setting for include_path is “.;/path/to/php/pear”
    ; http://php.net/include-path

    and i’ve changed it to this :

    ; UNIX: “/path1:/path2″
    ;include_path = “.:/php/includes”
    ;
    ; Windows: “\path1;\path2″
    ;include_path = “.;C:\wamp\bin\php\php5.3.6\PEAR”
    ;
    ; PHP’s default setting for include_path is “.;/path/to/php/pear”
    ; http://php.net/include-path

    and i’ve done this step :”13. Restart WAMP server.”

    but the wampserver still in yellow

    N.B : i’ve done all the steps successfully except the step number 12

    plz if you ‘ve a solution for this situation i’m waiting you ..
    Thanks again.

    __
    Marouane

  6. Julian May 10, 2011 at 2:56 pm

    You need to UN-comment the line:
    ;include_path = “.;C:\wamp\bin\php\php5.3.6\PEAR”

    which will be
    include_path = “.;C:\wamp\bin\php\php5.3.6\PEAR”

  7. Marouane May 11, 2011 at 5:10 am

    Hi, thanks for your reply,
    i do what you say but without any result (the wampserver still in yellow color ) :s

  8. Julian May 11, 2011 at 6:19 am

    well, you should check apache error log, why is not starting
    Or even better, ask directly on wamp support forum.

    Honestly, we dropped WAMP in favor of Zend Server, as we got development licenses for ZCE’s.

  9. Marouane May 12, 2011 at 4:37 pm

    Ok this is a good idea, thanks again and good luck :)

  10. Free Html templates August 5, 2011 at 4:26 am

    Thanks . Worked great

  11. Pingback: Anonymous

  12. Amir November 21, 2012 at 6:10 pm

    hi
    thx , worked so great

  13. Esperado May 16, 2013 at 5:03 am

    Wamp is nice, but a miss when you want to upgrade. We are in 2013, few lines of codes to detect previous intallations, whatever the path, and deal intelligently with the inifiles is so difficult ?
    It is so painfull to upgrade, when you do not remember and old configuration.

  14. Alex John Suarez September 30, 2013 at 5:17 am

    Hi Julian,

    I just want to know if the step that you have posted from 5.0 to 5.3 is still available to apply converting version 5.3.4 to version php5.5.4? I followed the step and it seems is not working in my end. The Wamp Server is not turning to GREEN icon. It will just pause to ORANGE icon. I tried to connect with localhost in browser and still is not working. Please advise and help.

  15. Julian September 30, 2013 at 8:02 am

    We are not using WAMP anymore in our company, everybody swiched to Zend Server. No idea if will work with 5.5.4, my guess is that will NOT work , at least not yet.
    PHP 5.5.x is quite a major leap

  16. zatom alzoolano December 22, 2013 at 5:44 am

    working method. thanx a 1.000.000
    i used to upgrade from php5.3.0 to php5.3.3.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>