Write in the hosts /etc/hosts (nano /etct/hosts) 127.0.0.1 mysite.loc The example of creating a host file: sudo /var/You can skip the next steps regarding virtual hosts. Give permission to execute the script: chmod x /var/www/vhosts.sh phtmlįor lazybones, we have a bitbucket template (only for local hosts). # Fix the warning when restarting ApacheĪddType application/x-httpd-php. Remember to issue sudo command (sudo su -) when following the instruction.Ĭonfigure Apache2 nano /etc/apache2/nf Only one thing left to do now - for all hosts which you want to be running on PHP 5.2, edit their configuration file and add the following line inside their definition: Include php52.Software installation on Ubuntu 16.04 is done in several stages described below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |