load php module

Here, We’re going to show you how to install PHP module for Apache. It is required to run the PHP files on server.

First you will have to install the Apache Packages on server and PHP along with it.

Check Out : Missing “ PHP-mbstring” installing Zabbix Monitoring

I have already installed Apache Server and assuming you have also.

Now you have to install PHP on server

yum install php*

After installing PHP, You just have to load the module in httpd.conf file

Put these line in httpd.conf file

Check Out : Install PHP 7.2 (Hypertext Preprocessor) on Ubuntu

Then

Restart the service of Apache and check the Configuration file syntax

systemctl restart httpd && httpd –t ;

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here