Prerequisites - CENTOS7

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

Himani Gupta

Publié le - 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




Impossible de trouver une réponse?

Vous recherchez des articles spécifiques qui résident dans des requêtes générales? Il suffit de parcourir les différents dossiers et catégories pertinents et vous trouverez l'article désiré.

Contactez nous

Confirmer l'action

Êtes-vous sûr? Vous souhaitez effectuer cette action.