These days just installed an Ubuntu 16.04 desktop version, in short to go back and forth a few times to basically set up the environment, originally built with apt-get, the results do not know what reason 16.04 version does not support the installation of PHP5, prompted the source gave up the PHP5 version, Have to use Phpstudy to build the lamp environment,
Enter the topic, groping down, phpstudy build lamp environment is very good, version at least can be freely controlled, first must
Command: gedit/etc/hosts//Configure Hosts file, for example add 127.0.0.1 test
After that, the direct input command
Phpstudy add site, enter the site name, is still test
Phpstudy List View Site listing
After adding, Phpstudy automatically restarts the service,
At this point you can enter test in the address bar to access the test directory of the site
Create a new site under Ubuntu using the lamp environment built by Phpstudy