*** ERROR *** The PHP configuration loaded file is:
Posted by: doveman (---.hfc.comcastbusiness.net)
Date: September 05, 2017 07:54PM

Here is the full text:
*** ERROR *** The PHP configuration loaded file is: c:/php/php.ini - should be: c:/wamp64/bin/apache/apache2.4.23/bin/php.ini or c:/wamp64/bin/php/php5.6.25/phpforapache.ini
You must perform: Right-click icon Wampmanager -> Refresh

I have tried everything to solve this error. I do have a php installation a the c: level but all the config files within WAMP point to the apache location for the php.ini.

I have installed and uninstalled multiple times to no avail.

Any Suggestions?

Thanks

BTW on Windows 10 there is no way to do a refresh as described above. At least I haven't found it.

Options: ReplyQuote
Re: *** ERROR *** The PHP configuration loaded file is:
Posted by: Otomatic (Moderator)
Date: September 05, 2017 08:27PM

Hi,

> I do have a php installation a the c: level
What's your use?
You must uninstall this version of PHP.

And ... you have to think about all the dirty things that installers put into the PATH environment variable and that are NEVER deleted when uninstalling?
This is why Wampserver, whatever the versions, does not use any environment variable and especially not PATH.


What is the content of the PATH variable?
If you do not know how to see it, just open a command window - as an administrator - and type:
PATH
to see the result.

As it can be annoying to copy the result, just type
PATH | clip
and the result will be in the clipboard that you will just have to paste.

> here is no way to do a refresh
Right-Click Wampmanager tray icon -> Refresh

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
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
Re: *** ERROR *** The PHP configuration loaded file is:
Posted by: doveman (---.hfc.comcastbusiness.net)
Date: September 05, 2017 09:32PM

Thanks for the reply.

Here is the path var:
C:\Users\donbar\scoop\apps\nodejs\current\bin;
C:\Users\donbar\scoop\apps\nodejs\current;
C:\Users\donbar\scoop\apps\yarn\current\Yarn\bin;
C:\Users\donbar\scoop\apps\7zip\current;
C:\Users\donbar\scoop\shims;
C:\Users\donbar\AppData\Local\Microsoft\WindowsApps;
C:\Users\donbar\AppData\Roaming\Composer\vendor\bin;
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;

Uninstalling the c:php is only something I want to do as a last resort. I am in the middle of a development project and I am hesitant to do anything that my jeperdize my schedule,

I can not do a refresh on Wampmanger. It never opens a window and there is now option to right click an icon. It simply pulls up the command window and then goes away.

Thanks again for your help.

Options: ReplyQuote
Re: *** ERROR *** The PHP configuration loaded file is:
Posted by: RiggsFolly (Moderator)
Date: September 05, 2017 09:53PM

Hi

I would guess that there is a php.ini file in the windows folder or one of its subfolders. That needs to be removed and put back into the C:/php folder.

You need to make sure that you remove all references to C:/php in the PATH.

If you need to go backwards, just remember the changes you make and keep files somewhere so you can quickly replace them if necessary

---------------------------------------------------------------------------------------------
(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
Re: *** ERROR *** The PHP configuration loaded file is:
Posted by: Otomatic (Moderator)
Date: September 05, 2017 10:14PM

Hi,

> It never opens a window

Have you looked in the hidden icons window of the notification area?
Click the vertical chevron to the left of the notification area:

then drag and drop Wampmanager icon in the tray:


------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
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 09/06/2017 02:00PM by Otomatic.

Options: ReplyQuote
Re: *** ERROR *** The PHP configuration loaded file is:
Posted by: doveman (---.hfc.comcastbusiness.net)
Date: September 06, 2017 04:12PM

That took care of it. Thank you.

As far as the php issue I removed the c:/php folder and all seems to work.

Thanks again.

Options: ReplyQuote


Sorry, only registered users may post in this forum.