Actually, it is a necessary combination for Laravel + SQL Server. I couldn't find the place where it was written even though there were many conditions soberly ...
sudo yum install -y epel-release
sudo yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo yum update
#Without this, the connection to SQL Server will be moss
sudo yum localinstall https://packages.microsoft.com/rhel/7/prod/msodbcsql17-17.4.1.1-1.x86_64.rpm
#Various things needed for Laravel to start
sudo yum install -y php74 php74-php-common php74-php-cli php74-php-mbstring php74-php-gd php74-php-pear php74-php-pdo php74-php-mcrypt php74-php-xmlrpc php74-php-soap php74-php-devel php74-php-intl php74-php-xml php74-php-sqlsrv
#I don't want to write php74
sudo ln -s /usr/bin/php74 /usr/bin/php
Recommended Posts