Bug #69907 [Opn->Fbk]: Initialization error php_mbstring.dll (Compiled with wrong Module API)
| From: | ab@php.net | Date: | Tue, 23 Jun 2015 09:26:00 +0000 |
| Subject: | Bug #69907 [Opn->Fbk]: Initialization error php_mbstring.dll (Compiled with wrong Module API) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193786@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69907&edit=1
ID: 69907
Updated by: ab@php.net
Reported by: leon at leonidasjp dot nl
Summary: Initialization error php_mbstring.dll (Compiled with
wrong Module API)
-Status: Open
+Status: Feedback
Type: Bug
Package: mbstring related
Operating System: Windows 8.1 Pro 64 bits
PHP Version: 7.0.0alpha1
Block user comment: N
Private report: N
New Comment:
It's most likely a configuration issue. You should ensure you're loading the DLL from the
correct path. Also be sure you're using VC14 Apache builds. To double check it, please do the
following on console while in the 7.0.0alpha1 dir
php.exe -n -d extension_dir=ext -d extension=php_mbstring.dll -m
The mbstring should appear.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-06-23 08:14:53] leon at leonidasjp dot nl
Description:
------------
I installed php 7.0 alpha 1, VC14, 64 bits, Thread Safe build last week and activated the
php_mbstring.dll extension by uncommenting the line in php.ini.
When starting Apache (2.4) and loading phpinfo(), the mbstring-configuration does not show up, and
an error log is generated with the following entry:
[23-Jun-2015 07:56:20 UTC] PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20141001
These options need to match
in Unknown on line 0
I am using the mbstring-module which is bundled in the Alpha 1 zip file. I also tried replacing it
by the mbstring-module from all other Alpha 1-builds (both x86 and x64, TS and NTS), but these all
generate the same error. It seems the bundled library has been mis-built...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69907&edit=1