![]() ![]() So in this post we will learn to install the PHP version 5.6. It is an open-source platform for non-productive developmental work.įor production concern, those works can be migrated to RHEL ( Red Hat Enterprise Linux) Linux distribution platform. mostly PHP is used from web based software, its easy to learn.ĬentOS is a Community Enterprise Operating System. We all know about PHP is a server side scripting language which stands for hyper text processor. before start this tutorial first of all we should take an small overview about CentOS and PHP. So in this post today we will learn how to Install PHP on CentOS. In our previous post we learn how to implement Razorpay payment gateway with the help of PHP. I hope you found this guide useful, Please leave any comments, suggestions, or questions in the box below.Welcome back to, so today we are starting a new tutorial category in our learning platform. We’l be posting a detailed guide on How to Install MariaDB 10.1 on CentOS 7.1. Make sure to run mysql_secure_installation after installing MariaDB 10.1. Start MariaDB 10.1, and configure it to start on boot: Start Apache 2.4.6, and configure it to start on boot:Īdd the firewall rules to open up ports 80 and 443įirewall-cmd -permanent -zone=public -add-service=httpįirewall-cmd -permanent -zone=public -add-service=https Now we can install the actual Apache, MariaDB, and PHP packages: yum install mariadb-client mariadb-server httpd php Install Apache 2.4.6, MariaDB 10.1, and PHP 5.6. Type in CTRL-O to save, and CTRL-X to exitģ. Next, you need to copy and paste the following content into the editor: Type in the following to add the MariaDB repository to your system: nano /etc//MariaDB.repo Install the Official MariaDB repository to get the latest version of MariaDB, and keep it up-to-date with yum updates. ![]() Type CTRL-O to save and CTRL-X to close the editorģ. # WARNING: If you enable this repository, you must also enable "remi" Name=Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - $basearch Gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remiĪlso, under the section that looks like make the following changes: Name=Remi's RPM repository for Enterprise Linux 6 - $basearch ![]() Under the section that looks like make the following changes: Install the EPEL and Remi repositories to enable access to PHP 5.6.Įnable the REMI repository globally: nano /etc//remi.repo Once your system is back online, we can move on to the next step. Once the upgrade has completed, restart your system to apply any upgraded kernels. This article assumes you are running a fresh installation of CentOS 7.1, and that you have not yet configured any services.Īs always, with any freshly installed system, let’s upgrade the kernel and any other packages that may need updating. In this article, I’ll be showing you how to install Apache 2.4, MariaDB 10.1, and PHP 5.6 on CentOS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |