Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: Bud on May 01, 2014, 06:22:21 AM

Title: Apache
Post by: Bud on May 01, 2014, 06:22:21 AM
Please guys i need your help

I need to I add a line in apache2 ( or sme 8.1 apache ?? ) php.ini , this line:
" extension=imap.so "

Where do I do this in sme 8.1
Title: Re: Apache
Post by: stephdl on May 01, 2014, 10:30:51 AM
i'm just answering about your question and i do not answer about matter of security after your modification

you should read that tutorial http://wiki.contribs.org/Template_Tutorial
after that you need to do a custom template

 Make custom php.ini directory if not exist

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/php.ini/Create the template name 71imap.so and put the content
Code: [Select]
nano /etc/e-smith/templates-custom/etc/php.ini/71imap.so
Code: [Select]
extension=imap.so
Save the file

Expand

Code: [Select]
expand-template /etc/php.ini
Restart httpd.

Code: [Select]
/etc/init.d/httpd-e-smith restart