Installing PHP7 on Ubuntu 16.04
sudo apt-get update
sudo apt-get install php libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-xml php-mysql php-xmlrpc
In case, php-xmlrpc gives not found error use:
sudo apt-get install libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-mysql php-xml
It will install PHP7.0 on your server
sudo systemctl restart apache2
sudo apt-get update
sudo apt-get install php libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-xml php-mysql php-xmlrpc
In case, php-xmlrpc gives not found error use:
sudo apt-get install libapache2-mod-php php-curl php-gd php-mbstring php-mcrypt php-mysql php-xml
It will install PHP7.0 on your server
sudo systemctl restart apache2
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.