Install PHP on CentOS 7

CentOS 7에 php 라이브러리 설치하기..

yum install php
yum install php-mysql
yum install php-gd
yum install php-pear
yum install php-pdo
yum install php-mbstring

vi /etc/php.ini
short_open_tag = On

<?php ?>만 허용하다가 <? ?>도 가능.

http://www.cyberciti.biz/faq/howto-install-linux-apache-mariadb-php-lamp-stack-on-centos7-rhel7/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.