Upgrade Python 2.7 to 3.I am trying to upgrade PHP on a CentOS 7 machine, with php70w-fpm php70w-opcache, however I am getting this error: List all DNS records from a Nameserver using nslookup Install Mysql Client on Debian 10 (Buster)Ĭonfigure Debian Software RAID 1 during installation You can reach me and I will be delighted to exchange my views. Worked with Orascom Telecom- Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey), Mango Teleservices Limited and Access to Informaiton (A2I-UNDP) Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect. Also engaged with several Offshore Software Development Team. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. Look the value of Server API option, if you get this value CGI/FastCGI, it means server is properly configured to use FastCGI. This will show the current configuration of PHP in your system. Now create a file in your document root /var/Īccess your Apache server using an IP address for domain name followed by php.info file in your web browser like below. Let’s restart the Apache server using the following command. Options +Indexes +FollowSymLinks +ExecCGIĪt this point, you have completed the Apache configuration with FastCGI support. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" Below configuration will allow siting with any system IP on port 80. chown apache:apache /var/VirtualHosts are used to configure multiple sites with a single IP. vim /var/script to make it executable by Apache server. Also make sure the php.ini file and php-cgi exist on your system. Now nagigate to /var/file and add the following content to this file. Edit PHP configuration file for Apache (/etc/httpd/conf.d/php.conf) in your favorite text editor and comment following lines showing in below screenshot by adding the hash (#) sign at the start of the lines.Īt this point we have successfully installed Apache FastCGI Module. yum -enablerepo=remi-php74 install php php-cli mod_fcgidīefore using PHP/FastCGI handler, you have to disable the default PHP handler on your system. This tutorial doesn’t include installing PHP modules, So you can also install required PHP modules. You can install any version of the required PHP or simply use the following command to install available PHP packages. Now you have successfully configured LAMP setup on your CentOS / RHEL 7.4 & 6.9 systems.Īfter installing the Apache web server, let’s install PHP and FastCGI Apache module on your system. Mysql Ver 14.14 Distrib 5.6.28, for Linux (x86_64) using EditLine wrapper Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies httpd -v Let’s check the installed versions of packages on system using following commands one by one. firewall-cmd -permanent -zone=public -add-service=httpįirewall-cmd -permanent -zone=public -add-service=https systemctl restart rviceįinally open firewall ports for HTTP (80) and https (443) services using the following command. Now restart MySQL service and enable to start on system boot. yum install mysql-serverĪpply security on mysql and also set root user password. If you want to install MySQL 5.7 visit this tutorial. Let’s use the following command to install MySQL server on your system. In step 1 we already have installed required yum repository in your system. Now start httpd service and enable to start on boot using below commands. Let’s install Apache web server using following command with enabling epel and remi yum repositories. yum -enablerepo=remi-php74 install php-mysql php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcryptįor additonal php function to install use the command syntax below- yum -enablerepo=remi-php74 install Īpache (HTTPD) is the most popular web server used on Linux systems. Now check all listed modules in above command and install required modules like below. Use following command to list available modules in yum repositories. Now install php 7 packages from webtatic rpm repository using following command. You are adding REMI, EPEL, Webtatic & MySQL community server repositories in your system. In the first step install all the required yum repositories in your system used in the remaining tutorial for various installations.
0 Comments
Leave a Reply. |