arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
apache 2 problem
#5
Here are the commands you can follow to get PHP7 installed.

sudo apt-get install python-software-properties software-properties-common
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update

Now you've to purge all the operations and cache proceeded by PHP5 from your machine by following command :-
sudo apt-get remove php5-common -y
OR
sudo apt-get purge php5-common -y

Now begin installation of PHP7 with the following command. This includes all required and essential packages for PHP7.
sudo apt-get install php7.0 php7.0-fpm php7.0-mysql -y

If that doesn't work, use this.
sudo apt-get install php7.0



If the error continues, use the following command in order to get the latest PHP modules loaded in your source list.
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0
.

Thank you,
Manal Shaikh.
Premium Web Hosting | ShadowCrypt | Manal Shaikh Official Website
If you find my post/thread useful, you're supposed to +rep me. 


Messages In This Thread
apache 2 problem - by sagher - 01-02-2019, 08:59 AM
RE: apache 2 problem - by chanalku91 - 01-02-2019, 09:10 AM
RE: apache 2 problem - by sagher - 01-02-2019, 09:21 AM
RE: apache 2 problem - by humanpuff69 - 01-02-2019, 12:58 PM
RE: apache 2 problem - by Manal - 01-02-2019, 12:59 PM
RE: apache 2 problem - by youssefbasha - 01-05-2019, 08:25 PM
RE: apache 2 problem - by chanalku91 - 01-05-2019, 11:56 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,915
10-14-2019, 01:31 PM
Last Post: hamed

person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting