How to install PHP 7.4 and SQL Server drivers in CentOS 7.7

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

How to install PHP 7.4 and SQL Server drivers in CentOS 7.7
How to install beta php8.0 on CentOS8
How to install Bootstrap in Ruby
How to install MariaDB 10.4 on CentOS 8
How to install Swiper in Rails
Install Golang / MariaDB on CentOS8, connect to DB and execute SQL
[Webpacker] Summary of how to install Bootstrap and jQuery in Rails 6.0
How to install the language used in Ubuntu and how to build the environment
Install PHP7.4 to build CentOS7 Laravel environment
What to do and how to install when an error occurs in DXRuby 1.4.7
Command to install nginx / PHP7 / php-fpm on CentOS7
How to install network drivers on standalone Ubuntu
How to install Titan2D (v4.2.0) in virtual environment
How to Install Oracle JDK 1.8 in Ubuntu 18.04 LTS?
Reference articles and books used to install CentOS
[Ruby on Rails] How to install Bootstrap in Rails
How to install Docker
How to install docker-machine
How to install MySQL
How to install ngrok
How to install the root certificate of Centos7 (Cybertrust)
How to convert A to a and a to A using AND and OR in Java
How to handle TSV files and CSV files in Ruby
Install MySQL 5.6 on CentOS6 [How to specify the version]
How to launch Swagger UI and Swagger Editor in Docker
How to specify character code and line feed code in JAXB
How to separate words in names in classes, methods, and variables
How to set chrony when the time shifts in CentOS7
Install CentOS Stream8 in VirtualBox
[Forge] How to register your own Entity and Entity Render in 1.13.2
[Rails] How to install devise
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
[Rails] How to define macros in Rspec and standardize processing
How to set character code and line feed code in Eclipse
How to use Ubuntu Server 20.10 (Groovy Gorilla) in Sakura's cloud
How to run npm install on all projects in Lerna
How to install Boots Faces
What happened in "Java 8 to Java 11" and how to build an environment
How to call and use API in Java (Spring Boot)
How to terminate rails server
How to develop and register a Sota app in Java
Super easy in 2 steps! How to install devise! !! (rails 5 version)
Differences in how to handle strings between Java and Perl
How to install GNOME as a desktop environment on CentOS 7
How to install Web application for each language in Nginx
How to run React and Rails on the same server
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
How to install JDK8-10 (Mac)
[Xcode] How to arrange Xcode and Simulator screens in full screen
How to include PKCE Code_Verifier and Code_Challenge in JMeter requests
How to dynamically switch between FIN and RST in Netty
How to install and use Composer on an ECS instance on Ubuntu 16.04
How to set the IP address and host name of CentOS8
How to POST JSON in Java-Method using OkHttp3 and method using HttpUrlConnection-
Steps to install samba on CentOS 8 and connect from Windows 10 Explorer
How to set and use profile in annotation-based Configuration in Spring framework
How to install and configure the monitoring tool "Graphite" on Ubuntu
[jOOQ] How to CASE WHEN in the WHERE / AND / OR clause
How to delete large amounts of data in Rails and concerns
How to place and share SwiftLint config files on the server