Read PHP file Apache & Nginx 1) add the following code in the file “sudo nano /etc/nginx/sites-enabled/default” location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } location ~ /\.ht { deny all; } 2) And also change the port as per your need server { listen 8080 default_server; listen [::]:8080Continue Reading

Free SSL Install free and secure your website sudo a2enmod ssl sudo service apache2 restart sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot –apache -d linuxguru.co.in Enter Email ID admin@linuxuguru.co.in sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf(Add Line) SSLCertificateFile    /etc/letsencrypt/live/linuxguru.co.in/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/linuxguru.co.in/privkey.pem sudo /etc/init.d/apache2 restart For Nginx sudo certbotContinue Reading

Sticky

Introduction A “LAMP” stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored inContinue Reading