LAMP server installation (PHP7 & CentOs7)

I changed my blog server recently. Thus, I write this one about some basic points of server setup. This passage is suitable for CentOs 7.2 with latest PHP 7. 1, Install Apache and Mariadb yum install httpd -y yum install mariadb mariadb-server -y 2, Install php 7 The default yum source of many cloud server doesn’t contain php 7. So we should install some yum sources first. #Source from webtatic rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm Now install PHP 7 yum install php70w php70w-opcache php70w-mysql php70w-pdo[…]

Continue reading …