Prerequisites - CENTOS7

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

Himani Gupta

Veröffentlicht auf - 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




Kann keine Antwort finden?

Auf der Suche nach etwas spezifischen Artikel, der in allgemeinen Fragen liegt? Stöbern Sie einfach die verschiedenen relevanten Ordner und Kategorien und dann finden Sie den gewünschten Artikel.

Kontaktiere uns

Aktion bestätigen

Bist du sicher? Sie wollen diese Aktion durchführen.