Here I have shared a script for creating NGINX virtual host with PHP 7.0. NGINX virtual host with 5.x and 7.0 is very similar but only different is php5-fpm.sock location. To create a NGINX virtual host open the configuration files by running this command.
sudo gedit /etc/nginx/sites-available/default
And then copy-pastes this code snippet and modify it by your configuration (information). Then restart your server. And you are ready to go.
A few days ago I was upgraded up operating system (ubuntu) 13.10 to 14.04 LTS version and when I booted my computer I got an error like that.
Error: symbol ‘grub_term_highlight_color’ not found
Entering rescue mode.
grub rescue >
After that, I have solved the error by doing some study on it. But badly the solution is too confusing and complex for newbie ubuntu user. So this post for newbie user how they can easily solve that problem.
You have to boot your computer from live CD/DVD or bootable pen drive and then choose ‘Try Ubuntu’ option once you got ”Try Ubuntu and Install Ubuntu’ option. Then run this command in your terminal
Once this linux command is executed then a box will appear called Boot Repair. Here you have to select ‘Recommended repair’
It will take some time and finally you have to reboot your machine. This is the easiest solution as I know.