Installing Magento Community Edition in PHP 7.2.1

0

I am trying to install Magento Community Edition 2.2.3 but it appears the following error: Your PHP version is 7.2.1. The required PHP version is 7.0.2 | 7.0.4 | ~ 7.0.6 | ~ 7.1.0 Does anyone know if Magento already has support for this version of PHP or if I have to downgrade the version.

    
asked by anonymous 28.02.2018 / 19:06

1 answer

0

You will have to do downgrade of PHP. Magento uses the mcrypt functions that were deprecated in the PHP 7+ and became obsolete in PHP 7.2+, but you can still install via PECL and try to run.

To install extensions via PECL, you will have to have php-devel , after installing it, just run the command below on your terminal.

pecl install "extname"

Once this is done, the PECL will download the source code of the extension and then compile it. Now just open your php.ini and add the content below and then restart PHP.

; Linux
extname.so

; Windows
extname.dll
    
28.02.2018 / 20:11