Installing Apache2, PHP 7.1 and MariaDB 10 on Centos 7 operating system
Write the installation codes for PHP 7.1 respectively.
yum install yum-utils -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php71
yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -
Write the installation codes for Apache/Httpd respectively.
httpd comes with the PHP installation.
yum install httpd -y
systemctl enable httpd; systemctl start httpd
Write the installation codes for MariaDB 10, respectively.
cat <
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
yum install MariaDB-server MariaDB-client -y
systemctl enable mariadb; systemctl start mariadb; systemctl status mariadb
You can click for our high-performance virtual servers.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
207 2
-
How to Grant Windows Administrator Privileges?
184 0
-
How to install Webmin on Ubuntu?
803 2
-
Linux SSH Terminal Commands and Explanations
682 3
-
CentOS Stream 10 Update Commands
768 1
-
CentOS Stream 9 Update Commands
1112 1
-
CentOS Stream 8 Update Commands
621 0
-
What is FreeBSD?
765 2
-
Out: 452 4.3.1 Insufficient system storage
708 2
-
Turning Off Automatic Updates in Windows Operating Systems
822 0