分類
電腦和網際網路

AWS Linux AMI php版本更新

step 1: sudo yum update
step 2: sudo service httpd stop
step 3: sudo yum remove php*
step 4: sudo yum remove httpd*
step 5: sudo yum clean all
step 6: sudo yum upgrade -y
step 7: sudo yum install httpd24
step 8: sudo yum install php73 php73-mysqlnd php73-imap php73-pecl-memcache php73-pecl-apcu php73-gd php73-intl
step 9: sudo yum install mod24_ssl
step 10: modify /etc/httpd/conf/httpd.conf & /etc/httpd/conf.d/ssl.conf
step 11: sudo service httpd start

PS sudo yum-config-manager –enable remi-php7*

Loading Facebook Comments ...

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

*