I'm trying to do some major dev on a two sites I built a couple years ago. They're both just plain old Wordpress installs with some customized themes. I pulled them both down off production today in an attempt to get them running locally to do this dev. First one goes fine. Second one keeps throwing the
Your PHP installation appears to be missing the MySQL extension which
is required by WordPress.
error. They're both running on the same MAMP install on my system, just different directories. So I'm pretty confused as to why there's a difference. Typical "check phpinfo" on server responses to this issue don't really help as they're on the same server and have the same settings. Nothing SEEMS out of place within wp-config or phpMyAdmin. Feeling lost... plz help.
Welp, I'm dumb. My MAMP was defaulting to php 7. Turned it back to 5.6 and now I'm in business.
Related
I'm working on Win10 64bit with Qt5.10.1, VS2017, MySql 8.0(64it). Everything is fine in my computer. After I deploy my application on other computers, a error message "Driver not load" pop up.
I have checked many forums including two posts in stackoverflow, [Qt][QMYSQL] Deployed app - Driver not loaded
Deploying qt mysql application
But it doesn't work for me. The following are the dll files in my folder:
qsqlmysql.dll is included in the folder sqldrivers.
All of the platform, software, SDK are 64 bit. can anyone help me? thanks.
Thanks everyone who answer my question. I tried many methods and almost give up. I never used MySQL before and this time I choose the newest MySql 8.0.12. I ignore the procedure and post the solution directly:
Beside libmysql.dll and qsqlmysql.dll, other two *.dll files are also necessary (but no solution I searched refers to them): libeay32.dll and ssleay32.dll, they are located at MySql/bin/. For my computer, they are contained in the system path, while for other computers that do not install MySql, they lack these two. Thus, we need to copy them to the package as well.
For anyone who encounter the same problem, for example using the newest MySql 8.0, you can try this method.
I got a community server version of MySQL5.6 for windows7 32 bit.
and also downloaded windows installer for the same windows version.
Everything was prepared correctly.
I saw on a blog giving me a step-by-step manual for installing MySQL 5.6 on winodws7 32bit.
I did the instruction accordingly and it always stops processing in the phrase of starting service. I completely don't know what the problem is.
I googled it for like three hours and got nothing relevant to this problem.
It never processes any further without any kind of alerts, no matter how much I wait.
Please help me out.
My OS
Windows7 Ultimate K 32bit, Service Pack1
TURN OFF WINDOWS FIREWALL COMPLETELY BEFORE INSTALLING
This was one of the only threads I could find on this issue and the current answers did not cut the mustard for me.
MySQL 5.6.21, both x86 and x64, did not want to get past "Starting Server" and would give me the "MySQL install taking longer than expected" message.
I tried all of the registry cleaner, folder deletions, etc to no avail.
I am running Windows 7 x64 and I finally decided to check the event viewer to find this:
0x80070422 turns out to be some unspecified firewall error and boom, it struck me like lightning.
I hope this post helps future visitors!
Have you installed other version of MySQL before? I have experienced this case ,but I installed MySQL5.5 and uninstalled it. I solved it by clearing regedit and deleting the folder of MySQL in the directory(C:\ProgramData.This directory is hidden by default in Windows.),then reinstalled it.
Follow this link http://tadeparti.com/pages/?page_id=808.
And do remember to delete everything under the C:\program files\mysql folder, including the odbc stuff if you have.
I recently changed configurations on my web server and moved my MySQL databases to a remote server. Upon making the changes, I removed MySQL from my web server just to make it as minimal as possible. My WordPress site was working perfect with the remote SQL until I removed it on the local server. Then I got the error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress
I'm curious as to why WordPress forces you to have it installed even while using a remote connection? Is there a way to get around this?
Worst case scenario I guess I'll reinstall MySQL.
its not mySQL that is the issue you need to enable the mySQL extensions required by Wordpress in the php.ini file or install them if they don't exist.
When you removed MySQL it probably removed or diabled the extensions for it in PHP, atleast that is what it sounds like. You should be able to just install or enable the extensions back in without reinstalling all of mySQL
No idea what's happened here - I've been using Webmatrix to build a wordpress site - everything has been going nicely. Powered off the machine last night, now today am unable to run the site.
Firefox gives me this error -
Firefox can't establish a connection to the server at localhost:portnumber.
I've tried running other sites from Webmatrix, no joy. Uninstalled xampp. Windows firewall is off, Norton firewall has the appropriate exceptions.
Where has localhost gone? Anyone?
EDIT: reinstalled Webmatrix, no change. Reinstalling MySQL atm, will see if that helps.
EDIT: nup. Clean install of Webmatrix, MySQL and wordpress makes no difference.
All seems to be working again - rebooted, swore a little, had a coffee and boom, back in business. I think it was the swearing that helped.
Thanks for the suggestions
I'm facing problem in installing Pligg on localhost(xampp). It seem to install successfully but does not login, as the page freezes. If anyone is familiar with this problem, please suggest me how to fix it. thanks.
Yes this problem is very very common. I similarly have this issue, even to this day. I've tried installation on Windows XP, Vista, and 7, all have failed.
The only way I'm able to work on Pligg is installing directly onto my hosting server. There I don't get any problems, go through the install process and access my site. Check out this quick google search as many of the top links from forums.pligg.com may offer a solution.
Unfortunately though, I haven't found one. To this day I still deploy my Pligg launches onto the server in a sandbox before going live.
I recommend using WAMP Server (Windows) or MAMP (Mac) for testing Pligg locally. I know for certain that both are working fine with the current version of Pligg CMS. I believe that I had some issues when I tried XAMPP years ago, so it may have some default setting that Pligg just doesn't agree with.