Bạn đang xem: How khổng lồ downgrade and upgrade php 7
Ubuntu LTS, MariaDB, nginx, Laravel 5.5, AWS EC2 instance
Bạn đang xem: Cách cài Đặt & nâng cấp php 5, cách cài Đặt và cấu hình php 7
sudo add-apt-repository ppa:ondrej/php sudo apt-get updateThen install:
service apache2 stop sudo apt-get install php7.1 php7.1-commonStart using php 7.1:
a2enmod php7.1 service apache2 restartCheck version:
php -vMore for apache : https://jakelprice.com/article/how-to-upgrade-from-php-70-to-php-71
More for NGINX: https://www.howtoforge.com/tutorial/installing-nginx-with-php7-fpm-and-mysql-on-ubuntu-16.04-lts-lemp/
Xem thêm: Gái Ngoan Ngoại Tình Vì Chồng Yếu Sinh Lý Vợ Ngoại Tình Vì Chồng Yếu Sinh Lý
Thanks for contributing an answer lớn Stack Overflow!
Please be sure to lớn answer the question. Provide details và share your research!But avoid …
Asking for help, clarification, or responding khổng lồ other answers.Making statements based on opinion; back them up with references or personal experience.To learn more, see our tips on writing great answers.
Post Your Answer DiscardBy clicking “Post Your Answer”, you agree lớn our terms of service, privacy policy & cookie policy
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device & disclose information in accordance with our Cookie Policy.