I got this issue unknowingly and its been 3 days for now that this problem isn't resolved.
When I try to access phpMyAdmin it throws a MySQL error #2002. I thought it was the hosts file problem, so I've gone into it and uncommented the "127.0.0.1 localhost", this too doesn't work. Seen all the possible solutions over stackoverflow, done all the trial and error methods, gone through videos, no result. Even I re-installed WAMP thrice, at one stage I removed WAMP totally and installed XAMPP, it's the same result.
Checked the MySQL log file, nothing is in there. Checked the php configuration file, it's all perfect, nothing seems to be in trouble, even uninstalled skype and utorrent. Adding the screenshot for reference. Any suggestions before I format my hard drive would be greatly appreciated. Thanks in advance.
I am not so sure but try this,
You will find a file named "my.cnf" on the same partition you installed wampserver mostly for another server you installed before search for it and delete it...
You can also have a look at this. It have mentioned some useful way.
Access Denied when opening phpMyAdmin
Related
I have this well known problem about a recently installed WordPress.org that has an error on any part that tries to connect to the WordPress.org servers (updating, installing plugins, insalling themes, etc).
Error message:
Warning: An unexpected error occurred. Something may be wrong with
WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums. WordPress could not establish
a secure connection to WordPress.org. Please contact your server
administrator.
I know that this sounds familiar. I've found hundreds of similar posts over the internet, but every single solution people give doesn't work. Some posts even have tens of completely different answers like "just do this" with only frustrated people that can't solve the problem with those (like me).
I've spent the whole day trying to fix it with no solution :( So, yes, I'm kind of almost hopless now. I'd really appreciate if someone can lend me a hand with this.
This is what I have:
A WordPress.org fresh install
MariaDB brand new database and user
Apache server ("httpd")
PHP 7.4
CentOS 8 in a GCloud VM micro-instance
A just installed LetsEncrypt certification
This is what I've tried:
Checked if cURL is installed
Checked that OpenSSL is installed
Manually added api.wordpress.org and downloads.wordpress.org IPs in my hosts file
Checked that my firewalls allow 80 and 443 ports traffic in and out (gcloud and CentOS iptables/firewalld)
Checked that ;extension=curl.so is present in my php.ini
Checked that the vhost is correct in the apache conf file
Checked that I can ping both WordPress URLs
Prooooobably I've tried some other things, but I cannot remember now (seriously, I'm into this for like 7 hours now)
If someone has a clue on how to solve this, I'd be really happy. I can send any other information, log, or anything that is needed. And, BTW, I started learning about admin and creating webservers a few weeks ago, using a CentOS netinstall in a local VM and using it as a simulation; I created the webserver, created a wordpress website, and everything went juuust fine... it's only this real VPS in gcloud that gave me this problem :(
Don't know if you solved your problem, if not, read that:
I've had the same pb and done all things you do.
I run a up to date CentOS 8 with a fresh install of an up to date wordpress.
Answer
I found my solution here : An unexpected error occurred. Something may be wrong with WordPress.org
Open /etc/selinux/config and change the line SELINUX=enforcing to SELINUX=permissive
and reboot.
so simple... My problem is solved now. I removed all other changed I've done (wp_config.php, cURL.php, hosts, ...)
Thanks you Abu Bakar
So I have been looking on the net for hours now and I can't solve my problem.
I have wamp installed (WampServer Version 3.1.7 64bit).
I want to open phpMyAdmin through wamp. (I have the phpMyAdmin5.0.2 installed and phpMyAdmin.conf is configured).
I have several php versions installed.(this was done through the process of trying to fix the solution alone).
When I try to open phpMyAdmin I get this error message: [1]: https://i.stack.imgur.com/ZEMaX.png .
I have tried configuring php.ini file (by de-commenting mysqli) it didn't change a thing.
Here's my php.ini file joined in the google drive link: https://drive.google.com/file/d/1fQuVoh5vhRX-MHhYL3zMQ4xNkstO-4Ch/view?usp=sharing .
I have configured extension_dir tp the php/ext folder.
I have similary configured my windows path to the php/ext.
Nothing I try works. Any help is welcome.
Thank you.
Since you're using WAMP, which should include all the pieces you need already working, but also have several PHP versions installed, it sounds like you're installing more than you need which is causing conflicts.
Assume you have no data in your database or web pages that you need to preserve, I suggest removing everything; get rid of WAMP and any extra Apache, PHP, or MySQL/MariaDB installations you have. Clean up (delete or move out of the way) any leftover configuration files, then reinstall WAMP. If you have trouble after installing only WAMP and no other PHP installation, then report back here details of the error. WAMP should come to you working and all ready to go, so if there is a problem, it will be helpful to start from a known base installation without extra configuration files or executable that will cause conflicts.
I'll also point out that the very top of the file you posted states that it's used only for the PHP Command Line Interface, so this is not the configuration file used by anything running through your webserver (like phpMyAdmin or your site). It's a little confusing that there are really two PHP instances (one for the command line and one that runs through the webserver), but in this case you would be looking for the file in wamp/bin/apache/apache2.x.y/bin/php.ini
I am plannig to start a simple php application to do that I instaled Mamp because I worked with it before, it is good, but now I am facing a problem, as the title says, my Apache Server is not starting, it starts and then when MySql starts it stops, I did not understand what was happening so I tried some solutions I found here in stackoverflow.
One of the solutions suggested that this is a problem in the latest version 4.1.1, so he provided a link to the previous version 4.1 and it is true because this problem was not there before, I took the exe file and installed it but I had the same problem, maybe Mamp version changing has helped him but did not worked for me.
The second solution is a solution that has been suggested by many people, and I think it is a solution, but I could not implement it and that's why I am here.
The solution says that changing the php version in the Mamp - Preferences - php to 7.2.14 instead of 7.3 solves the problem, I tried it but I get an error, Windows interface pops up and saying that something in not found, I did not get what was that, and googled it but I am still unable to understand what is missing and I feel like that nobody before me faced the problem x).
The message in french but here is what is saying :
The processus starting point zend_wrong_parameter_count_error##16 is
not found in the library of dynamic links.
C:/MAMP/bin/php/php.7.2.14/ext/php_gd2.dll
I think the message is clear, something is missing, and it is this file php_gd2.dll, I checked and it is true, but how am I going to add it correctly ?
I downloaded the file from a website and added it to my php7.14.2 folder but I get the same error.
Any help would be much appreciated, I wanted to start the app a month ago and faced this problem and then changed my plans just because of it and now I need to fix it to move on.
i´m new to this place and new to the hole programming stuff so please be patient.
I started the try to install Prestashop on Easyphp Devserver for my own and had a few Problems i solved allready but for my actual Problem i didn´t find an answer on the internet.
I´m using Easyphp 16.1 and want to install Prestashop 1.6.0.5 on it. I created a database via phpmyadmin, my http server is running with php 5.6 and even my database server is running with mysql.
Now i started the installation and it worked fine till that point when the installation should start. Everytime i start Step 6 "istallation" i get an White Screen instead of an bar that shows me the installationprocess going on.
First i´ve been reading about an error in cause of Ressource-configurations that may be increased. I did. No Change.
Then i saw an commendation in Step 3 when my Systemcompatibility got checked from the istallguide that is (roughly) "No PDO for mysql".
I activated it in the php.ini file and checked wheter its activated and sure it is now. But my white screen appears still everytime i try to install.
Somebody now ideas what i could do?
Many Thanks :)
This seems to be a common problem and I've tried searching for an answer and attempted to fix my problem based on people's answers, but with no success.
The other day, I started my local XAMPP server and MySQL database and tried to access phpMyAdmin, but I got the error "Cannot load mysql extension. Please check your PHP configuration". The MySQL extensions in the php.ini file are all uncommented. I am really lost as to what has happened as it was working properly the day before. If I need to provide any more info, please let me know. Any advice would be greatly appreciated.
XAMPP installs Apache, PHP and Mysql which works out of the box. You must have some other PHP.ini which is interfering with XAMPP. See phpinfo() to find out which PHP.ini is being used.
Check in Program Files if PHP is installed separately. Remove this one.