I take a Magento project and when i run x debug I have an exception because libsodium is not installed then I went to install libsodium.
I then follow this tutorial https://lukasmestan.com/install-libsodium-extension-in-php7/ (because I have php 7.2 as it is a Magento project) and ... it didn't work out :(
When I do :
sudo pecl install -f libsodium
I have the problem :
checking for libsodium... configure: error: Please install libsodium ERROR: `/var/tmp/libsodium/configure --with-php-config=/bin/php-config' failed
Do someone had the same problem ? I mean installing libsodium is what I want to do and for do that I need to install libsodium XD
If someone have a solution I would really be glad.
PS: in case of minus please let me know why so that I can improve my post
Ok the solution was simple instead of looking on internet with useless installation process simply do :
sudo yum --enablerepo=remi-php72 install php-sodium