Announcement

Collapse
No announcement yet.

PHP 7.3 and missing MySQL extensions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP 7.3 and missing MySQL extensions

    Hi there, when PHP 7.3 was introduced in this Alt-PHP update (https://www.cloudlinux.com/cloudlinu...p-updated-1-58) the mysqli and pdo_mysql extensions are missing from PHP Selector.

    Only nd_mysqli and nd_pdo_mysql are available, but PHP 7.2 and all previous versions offered both sets of extensions.

    I contacted support and they said that both mysqli, pdo_mysql and nd_mysqli, nd_pdo_mysql are available for PHP 7.3 in their test environments and should be accessible with this Alt-PHP update.

    All of my many servers are missing mysqli and pdo_mysql in PHP Selector for PHP 7.3.

    I dug into this further with support and noticed that the following symbolic links are missing:

    /opt/alt/php73/usr/lib64/php/modules/mysqli.so -> /opt/alt/php73/etc/mariadb101/mysqli.so
    /opt/alt/php73/usr/lib64/php/modules/pdo_mysql.so -> /opt/alt/php73/etc/mariadb101/pdo_mysql.so

    Additionally, these ini files are missing as well:

    /opt/alt/php73/etc/http://php.d.all/mysqli.ini
    /opt/alt/php73/etc/http://php.d.all/pdo_mysql.ini

    Can this be looked into as this appears to be a widespread issue?

  • #2
    You can try to install alt-php73-mysql-meta from cloudlinux-updates-testing repo and update alt-php with this package. This package will be released to stable tomorrow. Could you please notify me about results.

    Comment


    • #3
      Running "yum install alt-php73-mysql-meta" fixed the issue with mysqli and pdo_mysql missing on PHP 7.3.

      Thanks!

      Comment


      • #4
        Im glad to fix

        Comment


        • #5
          Please can you confirm this will be released anyway to all CL servers in the next few days? We dont need to go through each server and manually update?

          Comment


          • #6
            Hello Peter Armstrong!

            This package was released to stable on Dec 17, 2018

            Comment


            • #7
              > Running "yum install alt-php73-mysql-meta" fixed the issue with mysqli and pdo_mysql missing on PHP 7.3.
              >
              > Thanks!

              Worked for me too! Thanks!

              Comment


              • #8
                Hello Mike!
                Happy to hear it and thanks for following up!

                Comment


                • #9
                  Got same error, missing on PHP selector 7.3 mysqli - Wordpress page error

                  Found answer on: https://qh.brightchoicemarketing.com...li-extensions/

                  This is a temporary issue and will be fixed in the next update. For now you can fix it with the following command:

                  Code:
                  yum install alt-php73-mysql-meta --enablerepo=cloudlinux-updates-testing

                  Comment


                  • #10
                    Hello Marin,
                    Thank you for reaching out! It does work now, the error previously happened due to an update from the beta version. This should not already occur in the stable version.
                    Please let us know if you have any questions. Thanks in advance!

                    Comment

                    Working...
                    X