Skip to main content

How to install MySQL with EasyApache 4 for PHP Version 7.0

Comments

4 comments

  • cPanelKenneth
    Hello, PHP 7 does not support the mysql extension. The mysqli extension is still available with PHP 7.
    0
  • Jeff P.
    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.
    0
  • Jeff P.
    Nevermind, I uninstalled then reinstalled MySQLND and it was fine.
    0
  • cPanelMichael
    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:
    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:
    # 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.
    0

Please sign in to leave a comment.