Posted on

Magento 2 Installation error in Ubuntu system

In Ubantu System xampp server using install the Magento 2 erorr!

1.Magento 2.3.4 admin penal does not open gives Error 404 .

2.When I open the terminal and hit the magento command like:
php bin/magento c:c then gives error!

PHP Fatal error: Uncaught Error: Undefined class constant ‘PDO::MYSQL_ATTR_SSL_KEY’ in /opt/lampp/htdocs/magento234/setup/src/Magento/Setup/Model/ConfigOptionsList.php:179
Stack trace:
#0 /opt/lampp/htdocs/magento234/setup/src/Magento/Setup/Model/ConfigModel.php(71): MagentoSetupModelConfigOptionsList->getOptions()
#1 /opt/lampp/htdocs/magento234/setup/src/Magento/Setup/Console/Command/ConfigSetCommand.php(64): MagentoSetupModelConfigModel->getAvailableOptions()
#2 /opt/lampp/htdocs/magento234/vendor/symfony/console/Command/Command.php(77): MagentoSetupConsoleCommandConfigSetCommand->configure()
#3 /opt/lampp/htdocs/magento234/setup/src/Magento/Setup/Console/Command/ConfigSetCommand.php(54): SymfonyComponentConsoleCommandCommand->__construct()
#4 /opt/lampp/htdocs/magento234/vendor/zendframework/zend-di/src/Di.php(512): MagentoSetupConsoleCommandConfigSetCommand->__construct(Object(MagentoSetupModelConfigModel), Object(MagentoFrameworkModuleModuleList), Object(MagentoFrameworkAppDeploymentConfig))
# in /opt/lampp/htdocs/magento234/setup/src/Magento/Setup/Model/ConfigOptionsList.php on line 179

Thanks in advance!!

Leave a Reply

Your email address will not be published. Required fields are marked *