logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to upgrade to Apache with SSL and PHP on Win 2003?
Author
andrei



Joined: 08 Mar 2007
Posts: 5

PostPosted: Thu 08 Mar '07 18:48    Post subject: How to upgrade to Apache with SSL and PHP on Win 2003? Reply with quote

I am running a 2003 server machine live and it has the following installed:

Apache 2.0.55
PHP 4.4.2
MySQL 5.0.18

I want to upgrade to Apache 2.2.4 WITH SSL and to PHP 5

I will keep MySQL as it is since I do not want to move all that data over to another slightly newer version of MySQL. It is Apache, PHP and SSL that need to be updated or installed in parallel (perhaps?)

I intend to install/upgrade to the versions mentioned here: http://www.adcommcepts.com/apache/wamp-install-ssl-feb07.htm

I am unsure as to what is the best way to do this without taking down the machine. Even if I do take down the machine, I am afraid that I will run into problems - most likely. What suggestions you have to install all these?

I was thinking to install in parallel on the same machine.

What suggestions do you have on doing this without putting the machine off line or getting into problems configuring this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 08 Mar '07 20:00    Post subject: Reply with quote

Hello!
If you follow this setup You can install apache and PHP in a different folder than it is now. You can copy your htdocs folder. So you would have only the downtime from stopping the old apache and starting the new one.

I'm running the apache from apachelounge successfully on my W2k3 server standart edtion.

if there are still any questions, please ask again!
Back to top
andrei



Joined: 08 Mar 2007
Posts: 5

PostPosted: Thu 08 Mar '07 21:00    Post subject: Reply with quote

Ok - I will try going through the setup as indicated. This works with SSL? This setup info is same as the one at http://www.adcommcepts.com/apache/wamp-install-ssl-feb07.htm?

I will install then Apache and PHP to new unique folders. I would like to test the new Apache with SSL to see if it is running on port, say 88 (while the old one is still running)?? If so, do I need to specify a new Apache global variable and also for PHP? What about running the new Apache 2.2.4 running as a service under a different name? If so, how is that done?
Back to top
andrei



Joined: 08 Mar 2007
Posts: 5

PostPosted: Thu 08 Mar '07 23:42    Post subject: Reply with quote

So, in this case I should install the Microsoft VC++ Redistributable, install Apache 2.2.4 with OpenSSL to its unique folder (ie. Apache224) and PHP 5 (php5) and can still have the other Apache 2.0.55 (ie. Apache2) and PHP 4 (php) folders running without issues?

I want to test this out in parallel (without uninstalling Apache 2.0.55 (not to take down the server until I get things figured out here) and on a different port?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 09 Mar '07 10:59    Post subject: Reply with quote

If you change the <b>listen</b> in httpd.conf you can you can set it to a different port. So you can run it parallel.
Yes it will support SSL.

http://www.adcommcepts.com/apache/wamp-install-ssl-feb07.htm is not the same as the one I posted the link to, but it will work also fine.

>do I need to specify a new Apache global variable and also for PHP
no you don't have to.

Yes, you have to run the service with a different name.
by installing the service from the commandline. you can choose a name by the -n parameter. If you downloaded apache and configured the port. Open the commandline and browse to apache\bin folder. type httpd -h for more info. httpd -k install -n testapache. Notice if you want to uninstall that you have to reuse the name. httpd -k uninstall -n testapache

Hope that helps. If there are still any questions, please ask again.
Back to top


Reply to topic   Topic: How to upgrade to Apache with SSL and PHP on Win 2003? View previous topic :: View next topic
Post new topic   Forum Index -> Apache