INSTALL_DIR in httpd.conf
Posted by: EducatedFool (---.access.telenet.be)
Date: August 07, 2017 08:37AM

Hey,

I've problems with my httpd.conf. Everytime I launch WAMP it changes all my directories to ${INSTALL_DIR}.

So I had (example):
LoadModule php5_module "c:/wamp/bin/php/php5.6.25/php5apache2_4.dll"

After reloading WAMP:
LoadModule php5_module "${INSTALL_DIR}/bin/php/php5.6.25/php5apache2_4.dll"

I changed the configuration back and everything was working. Until I closed WAMP, and restarted it. And all my configuration was corrupted again.

Strange thing is that I worked on this wamp version for months and didn't change anything.

Any idea how I can stop this? Or how I can set the ISNTALL_DIR variable?

thanks

Options: ReplyQuote
Re: INSTALL_DIR in httpd.conf
Posted by: Otomatic (Moderator)
Date: August 07, 2017 09:28AM

Hi,

What is the problem?

# Apache variable names used by Apache conf files:
# The names and contents of variables:
# APACHE24, VERSION_APACHE, INSTALL_DIR, APACHE_DIR
# should never be changed.
Define APACHE24 Apache2.4
Define VERSION_APACHE 2.4.27
Define INSTALL_DIR c:/wamp
Define APACHE_DIR ${INSTALL_DIR}/bin/apache/apache${VERSION_APACHE}

Do not invent problems where there is none.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 08/07/2017 09:52AM by Otomatic.

Options: ReplyQuote
Re: INSTALL_DIR in httpd.conf
Posted by: EducatedFool (---.access.telenet.be)
Date: August 07, 2017 07:15PM

Well the problem was that I didn't have those 'defines'. And I didn't know how to add them.
But now it's working again.

thanks

Options: ReplyQuote
Re: INSTALL_DIR in httpd.conf
Posted by: Otomatic (Moderator)
Date: August 07, 2017 07:27PM

Hi,

Please, READ (and answer) BEFORE YOU ASK A QUESTION

I think you have to apply Wampserver Update 3.0.9

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.