I'm trying to install word-press on my website. i have php and its working and my mysql is working too. i need to install mysql extension for php.
This is my error im getting when trying the word-press install file.
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
thanks
btw its windows using IIS
you didn't mention what OS you're using. just the same, here's a link: http://www.cyberciti.biz/faq/install-mysql-php-support-for-wordpress/
Google (and StackOverflow's sister site) to the (potential) rescue! :)
https://superuser.com/questions/58470/wordpress-problem-your-php-installation-appears-to-be-missing-the-mysql-extensio
What is the path to php_mysql.dll? Is it correct in php.ini?
If you don't have access to php.ini, talk to your web host.
Related
I'm trying to load php_mongo.dll extension in Azure Websites.
I tried this guide http://cloud.dzone.com/articles/using-custom-php-extensions , but it doesn't work.
I looked at the phpinfo() but the extension does not get loaded. At one point, I managed to do it, but I have no idea how I did it. Now it doesn't work anymore.
Is there a working guide to how to activate custom php extensions on azure websites? Or any idea how I can do this?
Thank you!
PS: I'm using PHP_EXTENSIONS : bin\php_mongo.dll in App Settings, PHP version 5.5, where php_mongo.dll is 1.6.2-5.5-VC11-X86-NTS
Here's the answer: use double backslash.
bin\\php_mongo.dll
I have replaced mysql with percona in a cpanel server, but I am having issue with wordpress and opencart sites which require php-mysql extension. This issue was not there before percona and I am able replicate the problem on another server where I repeated same, replacing usual mysql with percona.
Both times I followed this cpanel documentation
Please somebody help. All my wp and open cart sites are throwing errors.
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
SOLVED
I solved this issue. Basically the problem was with default libraries, php-mysql is no more default and it has been replaced with mysqlnd and official site has mentioned a way to compile php in this link. I just referred this and recompiled the php and problem solved.
Thank you friends for trying to solve my problem and in fact due to your suggestions, I could solve this. Thanks a lot, I dont know how to work on this site to thank you.
Percona MySQL is a in-place replacement for MySQL. For PHP applications, there is no difference. Check if "php5-mysql" is still installed. (e.g. using Ubuntu: apt-get install php5-mysql)
Im on Windows 7, 64/bit running xampp v3.1. The php version is 5.4, Im trying to install memcache locally on the box so I can use memcache with php. I have searched google and followed directions about installing memcached.exe as a service, then downloading the memcache dll extension file for php and putting it into the ext folder under the php folder. I then add it to the php.ini folder, restart apache and memcache does not show up when running phpinfo() and when I try to run memcache via php it tells me this function does not exist. Can anyone help me figure this out? I verified the service is up and running, I tried different versions of the dll php extension file but still same issue. Any suggestions? Here is one site I used for instructions on installing memcache:
http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/
There must be some error logged into your apache logs. What is the error?
Looks like I grabbed the incorrect version of memcache for php. You must grab the correct memcache dll file for the php version you are using. I found the correct download here:
http://windows.php.net/downloads/pecl/snaps/memcache/3.0.6/php_memcache-3.0.6-5.4-ts-vc9-x86.zip
It has the correct php version, 5.4 and its thread safe. Once I downloaded it, extracted the dll and put into php extension folder and restarted xampp/apache, it now works.
I've followed the answer to this question to the letter:
Connection between MSSQL and PHP 5.3.5 on IIS is not working
I'm using XAMPP with threadsafe 5.3. I've copied the files to the extension directory (while leaving them in the /php folder) and I've added the extension lines:
extension=php_sqlsrv_53_ts.dll
extension=php_pdo_sqlsrv_53_ts.dll
When I do this, Apache fails to start, giving me errors in eventvwr like:
Application popup: Warning : PHP Startup: Unable to load dynamic library
'C:\xampp\php\ext\php_sqlsrv_53_ts.dll'
- The specified module could not be found.
Except, obviously, that that file DOES exist in that spot, and php.ini is pointed at that extension directory.
What's the problem?
Windows reports this when a shared lib dependency of what you're loading is missing. Use depends.exe to view the dependencies of php_sqlsrv_53_ts.dll and make sure it's either previously loaded or in the shared library search path.
http://www.dependencywalker.com/
See below url
php_sqlsrv.dll: gives error when checking PHP version but extension works
Read it:-
Since PHP 5.3, Microsoft has a new driver for windows :
http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx
Maybe you can try this version, which seems quite recent (06/2011)
Hope that helps !
Sadly, none of the answers addressed the issue or were avenues I had already explored.
I have decided to use the ODBC drivers with a SQL Server connection string, which seems to work fine, minus the fact I can't use MSSQL and SQLSRV native functions.
I have written a page that might help when installing the SQLSRV driver:
http://robsphp.blogspot.co.uk/2012/09/how-to-install-microsofts-sql-server.html
Unfortunately the instructions got complicated when MSFT removed the download for the old XP/2003 driver (version 2.0), so read the whole page before starting.
Wrong technology, but I was having problems getting WAMP to connect to MSSQL, with the same types of errors.
I fixed the problem by installing the 32-bit version of WAMP (instead of 64, even though we were on a 64-bit system).
Even if that's not applicable to the OP, I hope someone finds this helpful!
I was getting the same error messages when I started the Drupal 7 stack after installation. I am using VM Ware with Win 7 x64 and acquia-drupal-win-7.31.36-6159.54300.
I went to the PHP site http://php.net/manual/en/sqlsrv.requirements.php and installed the x64 Package.
steps
1) Stop Drupal Stack
2) run the file: sqlncli.msi
3) restart Drupal, and no error messages.
Where can i get the php 5.3.8 dll extension to enable connection to a DB2 database. I tried searching the net and was unable to find any download links. :(
regards,
V
You can find many of this info here
http://sourceforge.net/projects/db2mc/files/
I tried download dlls from various sources but at the end XAMPP was the solution. If you install this application server download from XAMPP home page.
This contains the a php and within a php.ini and the right dlls - so it worked for me.
If you are trying to connect to zOS or iSeries systems then you might face licensing issues too..