简体   繁体   中英

Enchant does not work on wamp server, compilation error

I have enabled enchant on my wamp server(V 2.4.9), I am using PHP(V 5.5.12), when I start the server I get the following warning:

PHP Startup:enchant: Unable to initialize module Module compiled with module API=20100525, PHP compiled with module API=20121212, Theese options need to match.

How to solve this problem?

It means your module was compiled for php 5.4 but you're using php 5.5.
You need to look for a compatible php 5.5 version of this module.

see https://github.com/php/php-src/blob/PHP-5.4/Zend/zend_modules.h
and https://github.com/php/php-src/blob/PHP-5.5/Zend/zend_modules.h
(search for ZEND_MODULE_API_NO)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM