Bug #69907 [Fbk->Csd]: Initialization error php_mbstring.dll (Compiled with wrong Module API)
| From: | leon at leonidasjp dot nl | Date: | Tue, 23 Jun 2015 11:17:16 +0000 |
| Subject: | Bug #69907 [Fbk->Csd]: Initialization error php_mbstring.dll (Compiled with wrong Module API) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193795@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
User updated by: leon at leonidasjp dot nl
Reported by: leon at leonidasjp dot nl
Summary: Initialization error php_mbstring.dll (Compiled with
wrong Module API)
-Status: Feedback
+Status: Closed
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:
The output indeed shows mbstring included in the enabled modules-list.
After altering php.ini's Extension path to "C:\php7\ext", the extension now shows up
in phpinfo (thus gets loaded). Path was "./ext", what somehow did not work as intended...
Previous Comments:
------------------------------------------------------------------------
[2015-06-23 09:25:59] ab@php.net
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.
------------------------------------------------------------------------
[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