How to install MySQL with EasyApache 4 for PHP Version 7.0

Nirjonadda

Well-Known Member
May 8, 2013
724
27
78
cPanel Access Level
Root Administrator
Please let me know that How to install MySQL with EasyApache 4 for PHP Version 7.0? I have an one addon that are requirements PHP extensions: mysql. Our addon are no more working after converted from EA3.
 

Attachments

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
Hello, PHP 7 does not support the mysql extension. The mysqli extension is still available with PHP 7.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
HOW? I do not see the option and all of my stuff is down do to this. I do not like Easyapache4 at all.

Hopefully just uninstalling mysql native drivers will do it.

Nope. Still no MySQLi WTF cpanel?? My entire ads system and lead processing systems are down now. Great.
 
Last edited by a moderator:

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
Nevermind, I uninstalled then reinstalled MySQLND and it was fine.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Nevermind, I uninstalled then reinstalled MySQLND and it was fine.
Hello @Jeff P.,

An internal case is open with our documentation team to provide clearer instructions on how to determine the package that installs a specific PHP extension. For example, to query the package that installs the ea-php70-php-mysqli extension, you can run the following command:

Code:
repoquery -q --whatprovides 'ea-php70-php-mysqli' | sort -V | tail -1
As you can see in the results, it lets you know the mysqlnd package is required:

Code:
# repoquery -q --whatprovides 'ea-php70-php-mysqli' | sort -V | tail -1
ea-php70-php-mysqlnd-0:7.0.13-1.1.2.cpanel.x86_64
Thank you.