Skip to main content

Posts

Showing posts with the label APACHE

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 ...

How To Install cPanel On Amazon Cloud (AWS) EC2 Instance?

Why easy to use cPanel ?   cPanel  is a Linux   based web GUI hosting control panel. The main advantage of cPanel servers is that you can easily install and configure the W ebsite and E -mail.   WHM  - Web Host Manager is a tool that is also used, as well as the reseller server administrator. Resellers can be accessed by authorized resellers in WHM, by using a reseller account can create and manage sub-accounts which may be limited modifications.   To change all the server level, server administrators need the Administrator login that you use to manage tasks such as Apache , Php and upgrading perl module  installed. cPanel servers have access to the root password of the server. In the following blog , we look at the installation of cPanel Server  on EC2 . Setup AWS EC2 for cPanel.   1. Start with log into the  AWS Management Console . Open the Amazon EC2 console by choosing EC2 under Compute.   2...

How to make faster your Apache with enable HTTP/2 Protocol on Ubuntu

  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 Unfortunately, the Apache2 installation in Ubuntu Server defaults to HTTP/1.1. Your web server must be making use of HTTPS, so you'll need to have an SSL certificate installed. Self-signed certificate, because you can not do this, you must use a tool such as Let 's Encrypt. See : How to install and use Let's Encrypt on a Ubuntu Server. You must install at least version 2.4.26 of the Apache. As with previous versions HTTP / 2 it is not a production-ready. Installation To upgrade Apache2 to this version, issue the following commands:   sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/apache2 sudo apt update sudo apt install apache2   Enable the HTTP/2 modul...

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...

How to control high traffic load on Apache servers : optimization performance of APACHE2 & PHP-FPM

Everyone handle high traffic loads  on Apache server. During down-time they forget to check server memory . Apache not used lot of memory  still server not responding. All time we restart Apache service and all things will start working good. I also faced same issue numerous time and all-time  used same solution : Restart Apache. After lots of research and reading found one solution. In this blog you see step-by-step guide to apache2 performance settings. System environment: Intel(R) Xeon(R) CPU 3.10GHz, 4 cores | 8GB RAM Ubuntu 16.04 Apache2 version using mpm_event PHP FPM (5.6,7.1) First,  Calculate process size : Download : python script file “ps_mem.py” from Github Open this and ps_mem.py file upload on you server :  https://github.com/raj412/ps_mem chmod a+x ps_mem.py sudo python ps_mem.py Output like this:  See here : 12 Apache processes, consuming a total of  35.7MiB, so each Apache process is using roughl...