Centos 6 Apache 2.4 PHP 7.2
I am trying to complete upgrade of magento 2.2.2 store to magento 2.3 following this tutorial
https://digitalstartup.co.uk/t/how-to-upgrade-from-magento-2-2-8-to-2-3-1/528
However I am getting the following error at step 4.5 running bin/magento setup:upgrade
[Exception] Warning: Use of undefined constant MCRYPT_BLOWFISH – assumed ‘MCRYPT_BLOWFISH’ (this will throw an Error i n a future version of PHP) in /home/redjohnco/public_html/vendor/magento/framework/Encryption/Encryptor.ph p on line 397
I am checking alot of post since last 2 days online and see that in PHP7 7.2 mcrypt has been removed –
However it seems Magento 2.3 or (my upgrade seems to need it)
I have alot of posts on this and they mention it can be installed on PHP 7.2 However the instructions dont seem to work on my Linux Centos 6
all the packages mentioned in the posts whenever I run give output
No package libc-dev available. No package pkg-config available. No package mcrypt-1.0.1 available.
It seems it cant find the package or whatever it needs to install mcrypt for php 7.2
Please note I am using multiple versions of php on my server but when checking in CLI SSH php-v i can see the version 7.2 is being used –
Please can anyone advise how I can fix this on centos 6