
See this page to learn more about SELinux. If not, SELinux may be preventing the page from loading. This article discusses the process of adding the new repository and installing PHP 7 on CentOS.Īt this point, you should be able to enter your server’s domain name or IP address in a browser and see Apache’s test page. To install an up-to-date version of PHP, you will have to use a third-party repository. It will work, but WordPress’s developers do not support it. On CentOS, the following commands should do the trick:įirewall-cmd -permanent -add-service=httpįirewall-cmd -permanent -add-service=httpsĬentOS 7’s repositories include an outdated version of PHP. Next, you need to start the web and database servers and create firewall rules to allow incoming connections to the webserver. Yum install install httpd mariadb-server php phpmysqlnd For CentOS, this will install the main dependencies, but you may need to check your distribution or WordPress’s documentation for details about additional PHP extensions and Apache modules: The easiest way to install these is via your Linux distribution’s package manager.

While it is possible to host WordPress on a Windows server using a WAMP stack, the most common configuration is the LAMP stack, which includes a Linux OS, Apache web server, MySQL database, and PHP programming language. However, while a low-end cloud server makes an excellent WordPress development platform, for busier sites and ecommerce stores we recommend more powerful cloud servers, hybrid servers, or dedicated servers. WordPress will run on any ServerMania server. The details are tailored to CentOS 7 and 8, but a similar approach will work on any Linux distribution. In this article, we’re going to walk through the process of installing WordPress on a freshly provisioned Linux server.

It’s also, with the addition of the WooCommerce plugin, one of the most popular ecommerce applications. WordPress is, by some margin, the most widely used content management system in the world.
