• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3129
  • Last Modified:

Downgrade PHP version on WAMP Server

Hi
I am currently running 15 Joomla sites on my WAMP Webserver
I am using Apache 2.0.58, Mysql 5.1.36 and PHP5.3

My Problem is that someone wants to host some system that depends on Zend Optimizer.
Zend Optimizer does not work with PHP5.3

Therefore I have to downgrade PHP to 5.2

Question is:
What will happen to my custom php.ini in
C:\wamp\bin\apache\apache2.0.58\bin

I guess thats the one that is used by wamp. I have made alot of changes in it.

When i install PHP5.2, will that modify my php.ini file. I am just afraid to loose several customized settings I have made..

Any advice on how to get this done as easy as possible would be appreasiated

0
morten444
Asked:
morten444
  • 2
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
Make a copy of your 'php.ini' somewhere else.  Then do the 'downgrade' thru WAMP.  When you're done put it back.
0
 
Eddie ShipmanAll-around developerCommented:
All you have to do is install your downgraded version of PHP in your wamp/bin folder and it will be available via the PHP->Version menu item when you left-click on the tray icon.

Other versions of PHP for WAMP here:
http://www.wampserver.com/en/addons_php.php

0
 
morten444Author Commented:
Hi
Thanks for reply. I had quite some issues doing this and I had to start with a blank.php.ini file and build it up.
I still dont understand what is supposed to happen with your php.ini file when you flicker between versions?
Should that be updated automatically to match your previous or do I have to manually move settings over from old to new version?
0
 
Eddie ShipmanAll-around developerCommented:
What happens is that WampServer takes the one in the wamp server directory copies it to the directory for the version you are requiring and and uses it.

If you want the same setting is every version, modify the default version in your wamp server directory.
It is explained in the documentation.
0
 
morten444Author Commented:
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now