Showing posts with label phpini. Show all posts
Showing posts with label phpini. Show all posts

Wednesday, June 2, 2021

Install imap extension on PHP 7.x or Higher in CentOS 8

yum update -y 

yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 

yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm 

yum install -y php80-php-imap 

cp /opt/remi/php80/root/usr/lib64/php/modules/imap.so /usr/lib64/php/modules/ /bin/echo 'extension="imap.so"' > /etc/php.d/40-imap.ini 

systemctl restart php-fpm

Friday, April 16, 2021

Installation fails with request timeout in Litespeed server

 LiteSpeed totally ignores the usual Apache setting. You can do it yourself by setting some environment variables for LiteSpeed in the .htaccess file of your document root . See below -

<IfModule Litespeed>
SetEnv noabort 1 
SetEnv noconntimeout 1 
</IfModule>

Extract Domain from email in Excel or Google sheet

  =TEXTAFTER( A2 , "@") or, =MID(A1, FIND("@", A1) + 1, LEN(A1) - FIND("@", A1))