2022年5月27日 18時1分 |
CentOS 7.9 にPHP 5.5 をyumでインストールする |
$ yum -y install epel-release $ yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm $ yum install --enablerepo=epel libmcrypt $ yum install --enablerepo=epel libraqm $ yum install --enablerepo=remi,remi-php55 php php-mbstring php-xml php-xmlrpc php-gd php-pdo php-pecl-mcrypt php-mysqlnd php-pecl-mysql php-devel php-mysql php-bcmath php-sockets php-xml which $ php -v $ yum -y install httpd $ yum --enablerepo=remi-php55 update $ systemctl enable httpd.service $ systemctl start httpd(.service) //括弧内は付けなくても、裏側で自動的に補完される。 |
[続きを読む] |
[カテゴリ:php] [トラックバック (0)] |