Top Left Text cha

Web & App Development

This is for Ubuntu 16.04/17.10, Nginx, MySQL & PHP (LEMP)

Restart Nginx
sudo systemctl restart nginx
sudo systemctl reload nginx (only reload config file)

Restart PHP
sudo systemctl restart php7.0-fpm

Nginx config file
sudo nano /etc/nginx/nginx.conf

PHP config file
sudo nano /etc/php/7.0/fpm/php.ini

PHP Hosts file (sites-available/default)
sudo nano /etc/nginx/sites-available/default

Check syntax
sudo nginx -t

Firewall Status
sudo ufw status

Extract .tar.gz
sudo tar -xvzf file.tar.gz
optionally add -C destination/
  • No comments found

Leave your comments

Post comment as a guest

0
Your comments are subjected to administrator's moderation.
X