SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Nov 2009
    Location
    Ontario, Canada
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Upgrading PHP (apache module) on Windows from 5.3 to 5.4

    I've been searching for a while now on how to properly do this with no success.

    Unfortunately due to corporate policy, I'm stuck managing Apache and PHP on a Windows server. When I originally set this up, I installed Apache from http://www.apachelounge.com/ and used the official PHP.net installer binary for 5.3.8 to automatically install PHP as a module for apache. Then when updated 5.3 builds came out, I simply downloaded and ran the installer and it properly upgraded PHP to the next minor revision (eg. 5.3.8 to 5.3.10). Now I see that there is no binary for PHP 5.4, just a .ZIP. I'm unsure on how to properly upgrade the server now and can't find any documentation.

    Can anyone point me the right direction here?

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2009
    Location
    Ontario, Canada
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never mind.

    Apparently I can just delete the contents of the PHP directory after backing up my php.ini configuration. Then extracting the contents of the .zip into the PHP directory and putting my php.ini back in. Restarted Apache successfully and everything seems to be good to go.

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,604
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)


    Actually, I probably would have installed to a second PHP directory and changed the httpd.conf statement to the new directory for testing ... and fast fallback. Since there were no problems (I wouldn't have expected any), then my "safety feature" would have been extra work for nothing more than a warm, fuzzy feeling.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  4. #4
    SitePoint Zealot
    Join Date
    Nov 2009
    Location
    Ontario, Canada
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had a shadow copy ready to be rolled back if I ran into issues but I definitely appreciate the lookout.

  5. #5
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,604
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    RM,

    Ahhhhh, you like those warm fuzzy things, too, eh?

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •