Skip to main content

Posts

Showing posts with the label NGINX

How To Install PHP 7.3 ON Ubuntu 18.04 / Ubuntu 16.04 / Debian / CentOS 7 / Fedora

This guide will help you Install PHP 7.3 on Ubuntu 18.04 / Ubuntu 16.04 / Debian / CentOS 7 / Fedora. PHP is an open-source server-side scripting language which has been widely adopted for the creation of dynamic web pages. PHP is secure, fast, simple, efficient, flexible and a loosely typed scripting language. How to Install PHP 7.3 on CentOS 7 / Fedora PHP 7.3 release got many bug fixes which include memory segmentation/corruption faults, undefined symbols, and other bug fixes. You can get a detailed report from PHP releases news . Step 1: Add PHP 7.3 Remi repository PHP 7.3 is available for CentOS 7 and Fedora distributions from the Remi repository. Add it to your system by running sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm   sudo yum -y install epel-release yum-utils Step 2: Disable repo for PHP 5.4 By default, the enabled repository is for PHP 5.4. Disable this repo and enable on for PHP 7.3 sudo yum-config-manager --disable remi-php54 ...

Make much faster Nginx with enable HTTP/2

Hypertext Transfer Protocol Version 2 (HTTP/2) is the latest version of the HTTP protocol, published as an IETF standard in RFC 7540 in 2015. Why HTTP/2 need to update?   HTTP/2 is much faster than HTTP/1.1. The HTTP/2 protocol achieves this by enabling web browsers to send multiple, simultaneous requests to the server.  In order to make use of HTTP/2, you must jump through a few steps. Requirements   Must need Nginx version 1.9.5 or greater. You can check your Nginx version by running (nginx -v) command.   OpenSSL version 1.0.2 or greater. You can check your OpenSSL version by running (OpenSSL version) command.   SSL/TLS certificate from Let's Encrypt or a self-signed certificate. TLS 1.2 or higher protocol enabled. Otherwise, you will not be able to use HTTP/2. Implementations of HTTP/2 must use TLS version 1.2 or higher for HTTP/2 over TLS. See : How to install and use Let's Encrypt on a Linu...

Serverpilot : Easiest way to Setup | Manage | Secure your PHP Website with Amazon Cloud EC2 Servers

ServerPilot is the easiest way to run PHP applications such as Laravel, Yii, Coordinator, Magento, WordPress on Amazon EC2 servers to keep your server secure. If you're not a sysadmin, you should use a developer-friendly environment  with ServerPilot. 1 st  Setup EC2 Instance. 2 nd  Connect EC2 Server to ServerPilot Setup EC2 Instance L og in to the  AWS Management Console .   Once logged in, click on EC2 . Then click Instances in the left menu and then click Instance Launch button. The instance creation tool starts. Now, select Ubuntu Server 16.04 LTS 64-bit or Ubuntu Server 18.04 LTS 64-bit as your Amazon Machine Image (AMI). After Select AMI Please check My blog in 2 nd  point Configure your instance  from Step 2 to S tep 6. Click Here...... Configure the Security Group You can see the name of the security group for your instance in the instance details screenshot above (in this case, it's "laun...

Error 521: Web server is down in plesk with cloudflare

Symptoms When visiting the website, it fails to load with error 521. The error occurs because the origin web server refused the connection from CloudFlare CloudFlare is used Website uses Nginx as a reverse-proxy; Cause CloudFlare IP addresses were blocked by  nginx  because of outdated contents of  /etc/nginx/conf.d/cloudflare.conf . /etc/nginx/conf.d/cloudflare.conf  contains old CloudFlare IP addresses list. Solution Make sure that you're not blocking CloudFlare IPs in  .htaccess ,  iptables , or your firewall. Make sure that you're operating off of the most recent versions of Bad Behavior or  mod_security . You want to ensure that mod_security's core rules aren't blocking CloudFlare requests; If you are running custom Apache modules, such as  mod_antiloris  and  mod_reqtimeout , disable and unload the modules. These modules will block any time an IP that connects more than 22 times. Since all connect...