简体   繁体   中英

How to install new extension in Apache

Hi friends i am using Apache 2.4.4 (Win64) , PHP 5.4.12 . I need to install a new extension in it. I have a dll file of that extension ie pspell.dll . How should i make it work in my Apache? I have copied this dll to apache/Apache2.4.4/bin/ . And enabled extension=php_pspell.dll in apache/Apache2.4.4/bin/php.ini . Restarted my apache but still getting no sign of this extension in phpinfo(); . Please tell me what should i do?

Also getting this error:

Fatal error: Call to undefined function pspell_new()

Check server logs to see where is the problem.

Usually it's because file can't be found on disk or DLL file is not compatible with PHP - both PHP and DLL have to be compiled for same architecture, with same compiler and thread safety options.

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