PHP 7.3 and missing MySQL extensions
Forum
For more information on the latest vulnerability (CVE-2018-12130, CVE-2018-12126, CVE-2018-12127, and CVE-2019-11091),
please refer to our blog post
  1. Forums
  2. General
  3. General Discussion
  1. Ryan Smith
  2. Sunday, 16 December 2018
  3.  Subscribe via email
Hi there, when PHP 7.3 was introduced in this Alt-PHP update (https://www.cloudlinux.com/cloudlinux-os-blog/entry/alt-php-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?
Rate this post:
  1. 16.12.2018 20:12:45
  2. # 1
Darya Malyavkina Accepted Answer
Posts: 0
Joined: 26.06.2019
0
Votes
Undo
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.
  1. 17.12.2018 17:12:56
  2. # 2
Ryan Smith Accepted Answer
Posts: 0
Joined: 26.06.2019
0
Votes
Undo
Running "yum install alt-php73-mysql-meta" fixed the issue with mysqli and pdo_mysql missing on PHP 7.3.

Thanks!
  1. 17.12.2018 17:12:36
  2. # 3
Darya Malyavkina Accepted Answer
Posts: 0
Joined: 26.06.2019
0
Votes
Undo
I'm glad to fix :)
  1. 14.02.2019 10:02:03
  2. # 4
Peter Armstrong Accepted Answer
Please can you confirm this will be released anyway to all CL servers in the next few days? We don't need to go through each server and manually update?
  1. 14.02.2019 11:02:45
  2. # 5
Darya Malyavkina Accepted Answer
Posts: 0
Joined: 26.06.2019
0
Votes
Undo
Hello Peter Armstrong!

This package was released to stable on Dec 17, 2018
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.