Popular Open Source PHP Software to Build a Website

Drupal is Free Open Source PHP Content Management System. It enables to have quick web presence of your business using free templates and plugins.

 

Drupal is a CMS digitally experienced by the global community. Due to Covid-19, it has become requirement for every business to have a web presence and Drupal has the ability to create websites for business and launch websites without having programming knowledge.

It is used to create websites and applications used on daily basis. Drupal is a tool that helps to create structured content and dynamic websites as per requirement. In Drupal, pre-made templates and plugins facilitate to develop a new website without any hassle. It has pre-created core files or security systems to prevent websites from malware or getting hacked. Drupal has a user friendly interface that enables the management of content, media assets, and publishing capabilities. Drupal is the open-source thus it has huge developer community that helps when stuck in particular situation.

System Requirements

In order to install Drupal 9.x, you must have the following softwares

  • PHP 7.3+
  • MySQL 5.5.3 + / PostgreSQL 9.1 +
  • Apache 2.4 + / Nginx 1.8 + / Microsoft IIS 7

Features

Drupal is quite easy to customize and deploy. It is scalable, well suited for design and development with a robust platform. Some of the other features that make Drupal different from others are listed below:

No need for Senior Web developer hiring

Durpal is beautiful, simple and easy to use Content Management System. There is no need to hire a web developer for your websites as it can be managed easily without have programming language.

Content Administration

Durpal is one of the best PHP CMS platform that allows wide range of features to administer the content.

Other Features

  • Multiple Content Types
  • Web Server and Database Independent
  • Standards Compliant Templating & Theming
  • Device-Specific Display
  • WYSIWYG Content Editing
  • In-built Search
  • Contributed Modules
  • Views Now Part Of Core
  • Support For Accessibility
  • Built in Web Services
  • Guided Tour of drupal
  • Speed optimization
  • ISO standards
  • Automation testing of JavaScript

Installation Instructions

Install Drupal CMS on Ubuntu 16.04 LTS with Nginx

Nginx is the most popular and secure web server. In order to install Nginx, use the following command

 sudo apt install nginx 

Once the Nginx is install, configure the domain and restart the Nginx by using the following command

 sudo service nginx restart 

Next, need to install database Server, use the following command to install MySql server

 sudo apt-get update;  sudo apt-get install mysql-server; mysql_secure_installation 

Once, the database server is installed, use the following command to restart MySql server

 sudo service mysql restart 

Next step is to install PHP 7.3. First make sure your Ubuntu server have the latest packages by running the following command

 sudo apt update 
sudo apt upgrade

Next, add the ondrej/php which has PHP 7.3 package and other required PHP extensions.

 sudo apt install software-properties-common 
 sudo add-apt-repository ppa:ondrej/php
 sudo apt update

After adding the PPA you can now install PHP 7.3 for Nginx by using the following command.

 sudo apt install php7.3-fpm

You can confirm that PHP 7.3 FPM has been successfully installed by using the following command.

 php -v

After, PHP installation please run the following command to install the required PHP Modules for Drupal

 sudo apt install libapache2-mod-php7.3 php7.3-common php7.3-mbstring php7.3-xmlrpc php7.3-soap php7.3-gd php7.3-xml php7.3-intl php7.3-mysql php7.3-cli php7.3-mcrypt php7.3-ldap php7.3-zip php7.3-curl 

Now, you have installed all the required software and the next step is to login to mysql server and create Drupal database. Use following command to create database. Change with your database name.

 CREATE DATABASE  

Create a database user called "" with new password. and granted user full access to the database by running the following commands. Change with your desired database user and with your desired password.

 CREATE USER ''@'localhost' IDENTIFIED BY ''; 
 GRANT ALL ON .* TO ''@'localhost' IDENTIFIED BY '' WITH GRANT OPTION;
 FLUSH PRIVILEGES; EXIT;

Next, run the commands below to download and extract the downloaded file and move it into a new Drupal root directory.

 cd /tmp && wget https://www.drupal.org/download-latest/zip 
 sudo apt-get install unzip
 sudo unzip drupal*.zip
 sudo mkdir -p /var/www/html/drupal
 sudo unzip Drupal*.zip -d /var/www/html/drupal
 sudo chown -R www-data:www-data /var/www/html/drupal/
 sudo chmod -R 755 /var/www/html/drupal/

Now, Lets configure drupal. Open your browser navigate to your domain name to start configuration of drupal. You should see drupal installation wizard
Select your preferred language from dropdown and click save and continue

  • Select installation profile and click save and continue 
  • Setup the Database and click save and continue
  • Now Install the drupal
  • In the End configure the site

    Congrats! You have successfully installed drupal on NGINX