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.

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



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

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.