Koozali.org: home of the SME Server

Apache

Offline Bud

  • *
  • 487
  • +0/-0
Apache
« 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

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Apache
« Reply #1 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
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!