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: need help upgrading from apache2.2 to apache2.4 on windows
Author
apache-lounge-chair



Joined: 24 Apr 2016
Posts: 18
Location: usa, atlanta

PostPosted: Sun 24 Apr '16 20:13    Post subject: need help upgrading from apache2.2 to apache2.4 on windows Reply with quote

I recently tried to get php7 running with apache2.2 on my windows 10.1 laptop. Every attempt I made faile d with strange error messages in the apache error log file which made no sense.

according to my research I needed to upgrade to apache2.4 in order to use php7.

I did some research and found a webpage from which I could download apache2.4. I was expecting to get an installation/upgrade executable which I could run. Instead I got a zip file which contained the same directory structure as my current apache2.2 installation. I did some google searching and read a number of articles on upgrading from 2.2 to 2.4. They talked about a number of things including the differences in config files and other issues. But none of the pages told me what I needed to know. How do I get windows to stop using the version of apache under my old directory structure and now use the version I just downloaded and unzipped
Back to top
James Blond
Moderator


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

PostPosted: Mon 25 Apr '16 17:18    Post subject: Reply with quote

I recommend to install a parallel running 2.4 version on alternative port(s). e.g. 8080 and 8443.

Then you should only migrate your vhosts and keep the default 2.4 as much untouched as possible.

The only "real issue" is the access config. The Order Allow,Deny and Allow From, Deny from is different. The server config itself isn't that hard. Often there is is an issue with various .htaccess file all over the file system.

Using PHP is recommended to use mod_fcgid instead of mod_php.

Different folder structure? Where did you download your apache 2.4?
Back to top
apache-lounge-chair



Joined: 24 Apr 2016
Posts: 18
Location: usa, atlanta

PostPosted: Mon 25 Apr '16 19:52    Post subject: Re: need help upgrading from apache2.2 to apache2.4 on windo Reply with quote

As I stated in my previous message, the unzipped package had the same folder structure.

I don't remember from exactly where I did the download but it was from somewhere under either apache.org OR apachelounge.com
Back to top
James Blond
Moderator


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

PostPosted: Tue 26 Apr '16 11:04    Post subject: Re: need help upgrading from apache2.2 to apache2.4 on windo Reply with quote

apache-lounge-chair wrote:
As I stated in my previous message, the unzipped package had the same folder structure.


Sorry I read it too fast Embarassed

Do you still have a question how to upgrade?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 26 Apr '16 16:53    Post subject: Re: need help upgrading from apache2.2 to apache2.4 on windo Reply with quote

I think the key sentence in the OP is
apache-lounge-chair wrote:
How do I get windows to stop using the version of apache under my old directory structure and now use the version I just downloaded and unzipped


Something tells me the Windows Service for 2.2 is still installed. Look in Services (I do not remember where they were in Win 10) and look for one named "Apache2.2." If you do find it then open a command prompt as Administrator, CD to your Apache 2.2's bin folder and type:

httpd -k stop
httpd -k uninstall

now CD to Apache 2.4's bin folder and type:

httpd -k install
httpd -k start

From here on out Windows should automatically start up 2.4 instead of 2.2.
Back to top


Reply to topic   Topic: need help upgrading from apache2.2 to apache2.4 on windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache