Your system is not ready to run Symfony projects [closed]

Your system is not ready to run Symfony projects [closed]

I tried for the first time to create a project on the Symfony framework on Ubuntu 18.04 LAMP current version of php 7.4.2. And when the Symfony check: requirements command is called, it constantly produces this error:

<pre><span style="background-color:#CC0000"><font color="#D3D7CF"> [ERROR]                                          </font></span>
<span style="background-color:#CC0000"><font color="#D3D7CF"> Your system is not ready to run Symfony projects </font></span>
<span style="background-color:#CC0000"><font color="#D3D7CF">                                                  </font></span>

<font color="#CC0000">Fix the following mandatory requirements</font>
<font color="#CC0000">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</font>

 * simplexml_import_dom() must be available
   &gt; Install and enable the SimpleXML extension.


<font color="#C4A000">Optional recommendations to improve your setup</font>
<font color="#C4A000">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</font>

 * PHP-DOM and PHP-XML modules should be installed
   &gt; Install and enable the PHP-DOM and the PHP-XML modules.

 * mb_strlen() should be available
   &gt; Install and enable the mbstring extension.

 * intl extension should be available
   &gt; Install and enable the intl extension (used for validators).

 * PDO should have some drivers installed (currently available: none)
   &gt; Install PDO drivers (mandatory for Doctrine).</pre>

I looked at all the packages described above through the php -m command. They are all in the list:

[PHP Modules]
calendar
Core
ctype
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
intl
json
libxml
mbstring
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

I don’t know what to do anymore. Maybe someone already met this?

Source: Symfony Questions

Leave a Reply

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