*** 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

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

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 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

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:


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



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.