devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Question about which mysql extension to use

Open medigeek opened this issue 4 years ago • 2 comments

General issue

Description:

Feedback on page: /guides/v2.4/install-gde/prereq/php-settings.html

In the guide the command line recommends:

yum -y install php74u-pdo php74u-mysqlnd php74u-opcache php74u-xml php74u-gd php74u-devel php74u-mysql php74u-intl php74u-mbstring php74u-bcmath php74u-json php74u-iconv php74u-soap

Note php74u-mysql and php74u-mysqlnd. Trying to install both mysql and mysqlnd will result in an error, at least in AMI Linux 2 (yum-based Amazon Linux in AWS).

Possible solutions:

The guide should recommend only one, out of which php74u-mysqlnd would be the best option to choose from.

Additional information:

medigeek avatar Mar 06 '21 19:03 medigeek

[PHP Modules] amqp bcmath bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext gmp hash iconv igbinary imagick intl ionCube Loader json libxml mbstring msgpack mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline redis Reflection session shmop SimpleXML soap sockets sodium SourceGuardian SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib

[Zend Modules] Zend OPcache the ionCube PHP Loader + ionCube24

mrtuvn avatar Apr 03 '21 06:04 mrtuvn

Maybe you should use php74u-mysqli instead php74u-mysql

mrtuvn avatar Apr 03 '21 06:04 mrtuvn