PHP7 on Pi 3 in the cloud (take 2)
On Wednesday, we showed you how to get PHP7 up and running on one of our Pi 3 servers. Since then, we’ve implemented something that’s been on our to do list for a little while: OS selection. You can now have Ubuntu 16.04 and the click of a button, so getting up and running with PHP7 just got easier:
1. Get yourself a Pi 3 in our cloud.
2. Hit the “Reinstall” button:
3. Select Ubuntu 16.04:
4. Upload your SSH key (more details), turn the server on, SSH in and run:
apt-get install apache2 php7.0 php7.0-curl php7.0-gd php7.0-json \ php7.0-mcrypt php7.0-mysql php7.0-opcache libapache2-mod-php7.0 echo "<?=phpinfo()? >" >/var/www/html/info.php
Browse to http://www.yourservername.hostedpi.com/info.php and you’re running PHP7: