I just started to learn PHP and in order to do that I installed wampserver on my windows 8.1. When I try to launch, it works properly but I have two problems:
1) I have an error in my localhost page:
*** ERROR *** The PHP configuration loaded file is: - should be: C:/wamp64/bin/apache/apache2.4.17/bin/php.ini or c:/wamp64/bin/php/php5.6.16/phpforapache.ini
I tried to find the php.ini file but it doesn't exist. In my phpinfo() it is (none) in front of Loaded Configuration file.
2) The other problem is I can't access phpmyadmin and I get this error :
"The mbstring extension is missing. Please check your PHP configuration."
Since I'm really new in php, please keep the answers simple! :)
Thanks in advance.
This was my issue: * ERROR * The PHP configuration loaded file is: c:/program files (x86)/php/php.ini - should be: c:/wamp64/bin/apache/apache2.4.27/bin/php.ini or c:/wamp64/bin/php/php5.6.31/phpforapache.ini You must perform: Right-click icon Wampmanager -> Refresh To resolve this issue, I just went into program files(x86) and added 1 to my PHP folder to make this invisible and retarted all Wampserver services it worked fine. Could have been a conflit with my This old PHP.
I just solve this problem.
to be sure to start Wampserver "As an administrator," :
right-click the shortcuts, Properties, tab Shortcut:
Leave Wampmanager and ursing win+x+a or others ways to open a cmd administrator command window.( attention:it should run the cmd as an administrator)
In this window, access to your apache installed path for exemple, my path: D:\wamp64\bin\apache\apache2.4.17\bin
then type
D:\wamp64\bin\apache\apache2.4.17\bin> mklink php.ini d:\wamp\bin\php\php5.6.15\phpForApache.ini
and you will see a message likes"php.ini << === >> d:\wamp\bin\php\php5.6.15\phpForApache.ini symlink created"
close the cmd and restart Wampmanager as an administrator
I hope that my solution also works for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With