Install PHP 7.3, 7.2, 7.1 on CentOS/RHEL 6.10 Rumi, August 24, 2019 Configure Yum Repository First of all, you need to enable Remi and EPEL yum repositories on your system. Use the following command to install EPEL repository on your CentOS and Red Hat 7/6 systems Use this command to install epel-release yum repository yum install epel-release and now execute one of the following commands as per your operating system version to install Remi repository. rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm Install PHP 7 on CentOS 6 Your system is prepared for the PHP installation from yum repositories. Use one of the following commands to install PHP 7.3 or PHP 7.2 or PHP 7.1 on your system based on your requirements. ## Install PHP 7.3 yum --enablerepo=remi-php73 install php ## Install PHP 7.2 yum --enablerepo=remi-php72 install php ## Install PHP 7.1 yum --enablerepo=remi-php71 install php I have installed the latest version PHP 7.3 on my system. Now running the following command to check current active PHP version on my system. php -v PHP 7.3.0 (cli) (built: Dec 4 2018 16:12:20) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies Install PHP Modules You may also need to install additional PHP modules based on your application requirements. Below command will install some more useful PHP modules. ### For PHP 7.3 yum --enablerepo=remi-php73 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt ### For PHP 7.2 yum --enablerepo=remi-php72 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt ### For PHP 7.1 yum --enablerepo=remi-php71 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt You can run the following command to search other available PHP modules under configured yum repositories. Below example command search for all modules for PHP 7.3. yum --enablerepo=remi-php73 search php | grep php73 php73.x86_64 : Package that installs PHP 7.3 php73-php.x86_64 : PHP scripting language for creating dynamic web sites php73-php-bcmath.x86_64 : A module for PHP applications for using the bcmath php73-php-brotli.x86_64 : Brotli Extension for PHP php73-php-cli.x86_64 : Command-line interface for PHP php73-php-common.x86_64 : Common files for PHP ... ... Related Administrations Configurations (Linux) CentOS6PHP7
Set Up Nginx Load Balancing with SSL Termination March 23, 2018 Nginx can be configured as a load balancer to distribute incoming traffic around several backend servers. SSL termination is the process that occurs on the load balancer which handles the SSL encryption/decryption so that traffic between the load balancer and backend servers is in HTTP. The backends must be secured… Read More
Delete Old Unused Kernels in Debian June 17, 2022 To find out the current version of Linux kernel running on your system, use the following command. $ uname -sr Linux 4.12.0-041200-generic To list all installed kernels on your system, issue this command. $ dpkg -l | grep linux-image | awk ‘{print$2}’ linux-image-4.12.0-041200-generic linux-image-4.8.0-22-generic linux-image-extra-4.8.0-22-generic linux-image-generic Remove Old Unused Kernels… Read More
Force Stop Proxmox LXC November 21, 2020 First try to unlock the pct (assuming your troubled container is 101): pct unlock 101 if it works just stop and start again the vm. if it does’nt work (my case) try to stop with this lxc-stop –name 101 if it’s does’nt work (my case) you can force stop with… Read More