How to enable Mysqli

  • How do I enable mysqli i am using 16.04 php7 and i-mscp 1.3.0

    I have tried adding the extension in php.ini but does not seem to do anything

  • Code
    1. # sudo apt-get install php-mysql


    1. # sudo apt-get install php7.0-mysql

    Then: Ensure that the module is enabled: phpenmod mysqli
    Then, restart Apache2 or fpm service depending on the SAPI you're using.