473,323 Members | 1,551 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

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 1360
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\bin\Apache.exe" -w -f "C:\Program
Files\Apache2\conf\httpd_php521.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.conf
(where xxx is the version number). Then i edit httpd_phpxxx.conf
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.conf 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
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...
4
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....
6
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...
1
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...
18
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...
5
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...
0
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...
6
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...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.