Prerequisites - CENTOS7

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

Himani Gupta

Udgivet på - 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




Ude af stand til at finde et svar?

Hvis du ikke er i stand til at finde et svar på dit spørgsmål igennem vores hjælpeartikler, er du altid velkommen til at oprette en support sag

Kontakt Os

Bekræft Handling

Er du sikker? Du ønsker at udføre denne handling.