Wamp 3 Upgrade - PHP Extensions Directory Overwritten
Posted by: aaronkreider (---.hsd1.pa.comcast.net)
Date: March 02, 2017 11:25PM

I recently installed the latest version of WAMP (3.06, 64 bit). I followed the upgrade instructions.

I am having a problem with the PHP extensions directory. PHPInfo() says that I'm using c:/php/ext
whereas my php.ini file says: extension_dir ="m:/wamp/bin/php/php7.0.10/ext/"

It looks like it tries to load the php.ini from c:\windows, but that is not present, so according to phpinfo it uses the proper one:

Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File M:\wamp\bin\apache\apache2.4.23\bin\php.ini

This loaded php.ini is a symlink which points to
m:/wamp/bin/php/php7.0.10/php.ini -- which has the proper extensions directory.

As it uses the wrong extensions directory, my extensions don't load.

I'm confused - as I don't see c:/php/ext used anywhere. I've tried restarting all the services, and rebooting. php is not in my windows environmental path settings.

I do not have a c:/php directory

I'm using Windows 8.1, PHP 7.0.10, Apache 2.4.23, MySQL 5.7.14. Wamp is working fine otherwise.



Edited 3 time(s). Last edit at 03/03/2017 12:25AM by aaronkreider.

Options: ReplyQuote
Re: Wamp 3 Upgrade - PHP Extensions Directory
Posted by: aaronkreider (---.hsd1.pa.comcast.net)
Date: March 03, 2017 12:34AM

I finally checked php error log. There was a typo in my php.ini file that caused it to fail.

It works now!

While this is rather embarrassing, I'm keeping this thread in case anyone has this problem in the future.

Options: ReplyQuote
Re: Wamp 3 Upgrade - PHP Extensions Directory
Posted by: RiggsFolly (Moderator)
Date: March 03, 2017 12:49AM

Well if you want the thread kept open, it is only any use to others if you tell us which toes it was that you shot off.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.