Koozali.org: home of the SME Server

how to enable php_mbstring and php_exif

Offline beek

  • 15
  • +0/-0
how to enable php_mbstring and php_exif
« 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

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: how to enable php_mbstring and php_exif
« Reply #1 on: February 22, 2017, 09:40:48 PM »
Hi Erik..

can you give us some more info?

thank you

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: how to enable php_mbstring and php_exif
« Reply #2 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: how to enable php_mbstring and php_exif
« Reply #3 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.