Solved

Downgrade PHP version on WAMP Server

Posted on 2010-09-22
5
2,882 Views
Last Modified: 2012-05-10
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
Comment
Question by:morten444
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33737184
Make a copy of your 'php.ini' somewhere else.  Then do the 'downgrade' thru WAMP.  When you're done put it back.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 33794964
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
 

Author Comment

by:morten444
ID: 33816734
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
 
LVL 26

Accepted Solution

by:
EddieShipman earned 500 total points
ID: 33817563
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
 

Author Closing Comment

by:morten444
ID: 33823184
Thanks
0

Featured Post

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question