Percona Server on cPanel - Missing mysql extension for PHP - php

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)

Related

How to install php_dba.dll for PHP on Windows?

i try to install PrivMX WebMail but seems like one error still problem here,
php-dba PROBLEM
i try to find php_dba.dll on php.ini but it seems there is nothing there
im trying to find it on google but still fail
currently im using PHP version: 5.6.12 witn wampwebserver on windowns server
Any help?
There is no php_dba.dll distributed officially until PHP 7.2. Even if you compile it yourself for lower, you might need to get drivers you need manually. Particularly for Oracle. Otherwise you should be fine just upgrading to 7.2 as it also suports LMDB.
Thanks.

How to update MySqli to php5-mysqlnd

I recently started coding with Codeigniter, so fairly new, even to php.
I built my first app, installed it on server after Xampp. I got this error
Message: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50542 Library:50626
After searching online I found that I need php5-mysqlnd. I found this nice article but don't know where all these processes are happening.
Is there a tool in Cpanel where all these codes for updating php5-mysqlnd are taking place?
All I know I have Linux hosting version 5.4.45 with Hostgator.
it looks like I found another way to do it (not like the way that link said).
I was going through my CPanel and found an option to change my PHP version. I clicked and on next page it asked what all components I want to include, I couldn't believe "Mysqlnd" was one of them.
I changed it to 5.6 from 5.4.45. That's all it took.
Thanks a lot.

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

I've spent 5 hours trying to resolve this issue. I've used every suggestive link that was relevant to my issue that Google listed. Nothing seems to work.
The OS is CentOS 6.5 and has Apache, PHP, and MySQL installed. I have several WordPress intranet sites working for almost a year with my subdomain xxxxx.xxxx.com.
First of all, I updated PHP 5.3.3 to the latest version. After that I got the error that MySQL extensions were not installed. I followed the different resolutions I could find and could not get a resolve. I therefore decided to remove php and install the older version I originally had. Since that time I am running into three problems.
My domain now only shows the Apache page whereas it use to show my website;
When I try to find out what php version I have by using the command php -v I would get what version was installed. After removing the updated version and installing the older one I get the error "php: command not found";
When I try to remove the older version I can't find it's install location and phpinfo.php doesn't work (may have put it in the wrong place)
Any help resolving this issue would be greatly appreciated
i faced the same problem with my centos 7 installtion with php-fpm ..
the solution was to install php-gd and php-pdo packages. those were the essential packages somehow required to make this all work.. good day
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
For others who may run across this same problem. The majority of the help I found Googling the problem dealt with editing the php.ini to uncomment the MySql extensions. Some even go as far as to say that there is only one thing that causes this problem.
However, what resolved my problem was actually downloading and installing php55-mysql to include the extensions. So be sure to take a look at that as well.

Installing php and mysql for Joomla - Can't get past installation

Trying to install Joomla 2.5.7 but I can't get past the Pre-Installation Check as it says: Database support: No
I've got mysql (5.5.24) and php (5.3.15) installed manually on a Linux machine (I don't want to use LAMPP). I've done this a few times before and checked everything is the same with my other working machines in terms of the packages and the php.ini file. I can also access the mysql fine.
Any suggestions on what I can try? Is there a way to find out what check it is failing on?
Argh! I did miss a package. A pretty vital one at that: php-mysql. Don't forget to restart web server.
Joomla checks what databases are supported by testing each type for a connection. One possible issue is that the way you have things set up the owner of the installation process does not have permission to use the databases.
Ooops sorry I didn't see that you had soled
Most CMS come with a sql database setup files. These files must be added to your mysql data. Or tables and users must be manually created.
Have you done this?? If not check manual for details.
http://linuxinternetworks.com/how-to-install-joomla-in-linux/
Comment, after trying, I am reading it too.

Missing extention for php and mysql

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.

Categories