Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: beek on February 22, 2017, 07:39:13 PM

Title: how to enable php_mbstring and php_exif
Post by: beek on February 22, 2017, 07:39:13 PM
the are installed but not working.
i have read that i have enable them in the php.ini file but find no information about that

can anyone help please

erik
Title: Re: how to enable php_mbstring and php_exif
Post by: Stefano on February 22, 2017, 09:40:48 PM
Hi Erik..

can you give us some more info?

thank you
Title: Re: how to enable php_mbstring and php_exif
Post by: janet on February 23, 2017, 12:31:44 AM
beek

Probably you need to follow the generic instructions here
https://wiki.contribs.org/Template_Tutorial

Look at the php.ini section for example, modify it to suit your particular needs.

Also check that there is not an existing db command available
see
https://wiki.contribs.org/Db_command_tutorial
and
https://wiki.contribs.org/DB_Variables_Configuration
https://wiki.contribs.org/DB_Variables_Configuration#Php
Title: Re: how to enable php_mbstring and php_exif
Post by: Jean-Philippe Pialasse on February 23, 2017, 04:43:03 AM
this depend on how you installed them :

as an example you could find php-mbstring as a rpm , and if it has been installed it will be activated jsute after a restart of httpd-e-smith because the rpm create /etc/php.d/mbstring.ini

however, if you installed it using pear or pecl, you will need as pointed janet to make some templates to add the line to activivate the module in /etc/php.ini.