Prerequisites - CENTOS7

Published on: 06-01-22 12:57pm

Himani Gupta

Published on - 06-01-22 12:57pm

Composer Installation

Instruction Link:https://getcomposer.org/download/

LAMP Installation:

Reference Blog - https://www.howtoforge.com/tutorial/centos-lamp-server-apache-mysql-php

 

Restart apache service:

systemctl restart httpd.service

 

 Create a php.info file:

sudo vim /var/www/html/info.php

 

This will open a blank file. We want to put the following text, which is valid PHP code, inside the file:

<?php
phpinfo();
?>

 

When you are finished, save and close the file.

 

The address you want to visit will be

http://your_server_ip_address/info.php

 

IMAP and Mailparse Installation:

 

Mailparse Extention

Command:

yum install php-pecl-mailparse

 

IMAP Extension

Command:

yum install php-imap

 

Restart the Apache service

Command:

sudo systemctl restart httpd.service

 

Check the extension on

http://your_server_ip_address/info.php




Unable to find an answer?

Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article.

Contact Us

Confirm Action

Are you sure? You want to perform this action.