#author("2024-07-27T05:01:39+00:00","default:iseki","iseki") #author("2024-07-27T05:02:07+00:00","default:iseki","iseki") * LAMP (Linux, Apache, MariaDB, PHP) ** Memo ** Install Memo *** for PHP 600 yum install epel-release 601 rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 605 yum remove php-* 606 yum install --enablerepo=remi,remi-php71 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt 607 vi /etc/httpd/conf/httpd.conf 608 yum update 609 php --version 626 yum install --enablerepo=remi,remi-php71 php php-mysqli 633 yum install --enablerepo=remi,remi-php71 php php-zip *** for MariaDB 251 rpm -qa|grep mysql 252 rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm 253 yum info mysql-community-server 254 yum install mysql-community-server 255 /etc/init.d/mysql restart **** tips - mysqld --user=mysql --initialize - 初期 root パスワードは /var/log/mysql/mysqld.log -- > set password for root@localhost=password('root'); #br