473,656 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upgrade or Separate Installation?

I have been using a prepackaged WAMP (Windows Apache MySQL PHP)
installation and along the way (over several years) have modified this
and that, added vhosts, modified php.ini the way I want, set up a live
php manual (docref_root), moved DLLs, and a thousand other things.

Problem is, I have not had to modify anything in a *long* time.
Everything works wonderfully as is, I just want to try out some newer
features (5.0.4).

Quite frankly, I am not confident in my knowledge of the upgrade process
(yes I have read the documentation, I don't find it that helpful).

I am beginning to think it would be safer to just create a separate
installation of PHP and point a vhost to it or something.

Am I being paranoid or is there some *really* simple instructions
somewhere for upgrading just PHP on a Windows system?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 27 '07 #1
1 1375
Hi -Lost,

I have been running several versions of php next to eachother with WAM.
Nowadays with apache2 i use a batch job like this to start apache:

path c:\php521;%path %
"C:\Program Files\Apache2\b in\Apache.exe" -w -f "C:\Program
Files\Apache2\c onf\httpd_php52 1.conf" -d "C:\Program Files\Apache2\. "

To set this up i first download php as a zip package. I put it to its
own folder, like php521 for version 5.2.1, and copy (within this folder)
php.ini-dist to php.ini. Then i copy httpd.conf to httpd_phpxxx.co nf
(where xxx is the version number). Then i edit httpd_phpxxx.co nf
manually according to
http://www.php.net/manual/en/install...ws.apache2.php

You may have to edit your system PATH so that the old php folder is no
longer in it. Then if you want to run apache with your old php version
you will need another batch job to set the path for that version (the
path statements only affect the command box in wich the batch job is
running)

With older versions of apache and php i used to copy php.ini to the
apache folder so that php could find it and copy httpd_phpxxx.co nf to
httpd.conf. I am not sure wheather that was necessary but i am sure it
worked.

After you have got apache running with the new config, phpinfo should
show you are running the right php version. You will have some more
configuring to do (in php.ini) to get the MySQL and other extensions
available.

I agree all this takes some puzzling, but in the end there are only a
few lines you need to change in each ini file, so IMHP the installation
instructions look more complicated then they really are when you take
the time to read and try it out.

Greetings, success,

Henk Verhoeven,
www.phpPeanuts.org.

-Lost schreef:
I have been using a prepackaged WAMP (Windows Apache MySQL PHP)
installation and along the way (over several years) have modified this
and that, added vhosts, modified php.ini the way I want, set up a live
php manual (docref_root), moved DLLs, and a thousand other things.

Problem is, I have not had to modify anything in a *long* time.
Everything works wonderfully as is, I just want to try out some newer
features (5.0.4).

Quite frankly, I am not confident in my knowledge of the upgrade process
(yes I have read the documentation, I don't find it that helpful).

I am beginning to think it would be safer to just create a separate
installation of PHP and point a vhost to it or something.

Am I being paranoid or is there some *really* simple instructions
somewhere for upgrading just PHP on a Windows system?
Apr 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2118
by: Saiyou Anh | last post by:
Hi! If doing online version upgrade from SQL 7.0 to SQl 2000, (1) do I need to shut down server? (2) after upgrading, is all login and db user, group information, scheduled Jobs, maintenance paln... still there? or I have to save the info before upgrading and recreate after upgrading? (3) any other tips I need to know? I'm doign that for the first time. Thanks! Saiyou
4
1838
by: Demetris | last post by:
Hello! He have an AIX box with Version 4.3.3 and DB2 V7.2 FP6. We need to upgrade the AIX to 5.1. Does DB2 need to be reinstalled. Are there DB2 installation images specifically for AIX 5.1. Any help will be much appreciated. Thanks Demetris
6
3665
by: Terry Bell | last post by:
We've had a very large A97 app running fine for the last seven years. I've just converted to SQL Server backend, which is being tested, but meanwhile the JET based version, running under terminal server, has suddenly started running very slowly. The network engineer has thrown up his hands and said "It's Access 97". I've checked out lots of things including the Oplocks setting and other stuff from this NG, and I think I've done everything...
1
2082
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for new installations but fails if the project has already been deployed. What I'd like for it to do is to ask if it should upgrade/repair/uninstall. Instead, it says that the user must remove the project before the installation can execute. What...
18
1941
by: Brett Romero | last post by:
I'm using VS.NET 2003 with Framework 1.1. I want to upgrade to VS.NET 2005 and Framework 2.0. I'd like to hear comments from people that have moved to the new platform with final releases of VS.NET and the framework. I'm interested in any installation and code migration issues you may have had. Thanks, Brett
5
1719
by: awebguynow | last post by:
I want to upgrade my version of PHP and with it, to be consistent PECL. I'm assuming, I'll also need to install Pear from scratch Maybe I'll go all the way and upgrade my Apache2 webserver from my current phpinfo() Apache Version Apache/2.0.54 (Win32) PHP/5.0.4 from Apache's website: Apache 2.2.3 Released I think it would be hard to install over my current installation at C:\php
0
842
by: estanton | last post by:
I have a C# web application created in VS 2003. I have a working deployment project that creates the .msi file for new installations. I need to add functionality that allows the user to upgrade to a new version. I have added a RadioButton (2 buttons) dialog to the installation user interface with an option for upgrading and an option for a new installation. If the user chooses to upgrade, the installer should procede with upgrading the necessary...
6
1798
by: ARC | last post by:
I'm almost ready to build an upgrade routine for a commercial app that will need to import data from an existing Access 97 back-end database to an Access 2007 back-end blank database. Ideally, it would be nice to have the program detect, on first launch, whether the back end database is blank, and ask the user if they want to begin a new database (putting them into the blank one), or import data from the previous version (the access 97...
0
4260
by: nilart | last post by:
Hi , Our current windows application uses postgre 8.1 while next release will be using postgre 8.3 Naturally when application is upgraded ..postgre is expected to upgrade To support this upgrade we will be taking following path: 1) run pgdump & take backup of existing database
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8717
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7311
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1930
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.