Prerequisites - CENTOS7

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

Himani Gupta

نشرت في - 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




تعذر العثور على إجابة؟

تبحث عن أي مادة محددة التي توجد في الاستفسارات العامة؟ مجرد تصفح مختلف المجلدات والفئات ذات الصلة وبعد ذلك سوف تجد المادة المطلوبة.

اتصل بنا

Confirm Action

Are you sure? You want to perform this action.