
The Remi repository depends on the EPEL repository Which provides newer versions of various software packages including PHP. PHP 7.x packages are available in several different repositories. If you don’t have sudo user on your system you can create one by following these instructions It is best practice to run administrative commands as sudo user instead of root. Prerequisites #īefore starting with this tutorial, make sure you are logged into your server with a user account with sudo privileges or with the root user. We’ll also show you how to integrate PHP with Nginx and Apache.Īlso prior to installing a specific PHP 7.x version make sure that it is supported by your application. In this tutorial, we will explain how to install or upgrade to PHP 7.0. CentOS 7 ships with PHP version 5.4 which has been officially EOL for quite some time and is no longer supported.īy using PHP 7 your applications will load faster and consume less system resources.
