| | 145 | |
| | 146 | ---- |
| | 147 | |
| | 148 | == '''''I get this error message throughout my site: Fatal error: Call to undefined function: mb_internal_encoding''''' == |
| | 149 | |
| | 150 | The default PHP installation does not always have the mb_string extension enabled, but the program requires that you run the PHP multibyte-string extension which is not enabled by default. In brief, in order to do this you will need to (in Windows): |
| | 151 | * uncomment out the line |
| | 152 | {{{ |
| | 153 | extension=php_mbstring.dll |
| | 154 | }}} |
| | 155 | in the '''php.ini''' file |
| | 156 | * ensure that the path to this file is set correctly, again in php.ini, for example: |
| | 157 | {{{ |
| | 158 | extension_dir = "./ext" |
| | 159 | }}} |
| | 160 | * Note that you can ensure that this file is correctly loaded by setting in php.ini: |
| | 161 | {{{ |
| | 162 | display_errors = on |
| | 163 | }}} |
| | 164 | * Restart your webserver, e.g. restart Apache |
| | 165 | * You can check via phpinfo() that '''mbstring''' appears within the information page |
| | 166 | * Here's how to do it in UNIX-based systems: http://php.net/mb_string |