PHP 7.3 and missing MySQL extensions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xprtweb
    Junior Member
    • Mar 2021
    • 5

    #1

    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?
  • skhristich
    • Apr 2026

    #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

    • skhristich
      • Apr 2026

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

      Thanks!

      Comment

      • skhristich
        • Apr 2026

        #4
        Im glad to fix

        Comment

        • skhristich
          • Apr 2026

          #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

          • skhristich
            • Apr 2026

            #6
            Hello Peter Armstrong!

            This package was released to stable on Dec 17, 2018

            Comment

            • noreply
              Junior Member
              • Mar 2021
              • 1

              #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

              • skhristich
                • Apr 2026

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

                Comment

                • skhristich
                  • Apr 2026

                  #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

                  • skhristich
                    • Apr 2026

                    #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...