magento2: Magento 2.4 Installation Error On CentOS

Note: I have some issue with #29462 Because of the issue closed i created new one. If this against to rules please accept my apologies.

Summary (*)

I can install Magento 2.4 to different environments excepts CentoOS. I had CentOS 7.X i tried to install Magento 2.4 and i get the “Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist” error on Installation step. I upgraded my PHP version to 7.4 but i still get same error.

After that, I installed CentOS v8.4 with PHP 7.3 but i got same error. And tried with PHP 7.4 but i got same error again.

Finally i have CentOS 8.2 with official PHP 7.3 but getting same error.

Note: I can successfully install Magento 2.4 into my OS X and other operating systems.

Examples (*)

When i run this command (with/without install parameters)

php bin/magento setup:install

I get this error

Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

In InstallCommand.php line 274:
                               
  Parameter validation failed 

php -v Results

PHP 7.3.20 (cli) (built: Jul  7 2020 07:53:49) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.20, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.20, Copyright (c) 1999-2018, by Zend Technologies

php -m Results

bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
readline
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Yes, i’m sure i checked permissions twice.

  • After this message i run command with root user. Still same results.