Solved

Downgrade PHP version on WAMP Server

Posted on 2010-09-22
5
2,709 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now