我有一个使用enchant enchant_broker_init()的网站。我不知道为什么,但是enchant_broker_init()大约需要19~秒来加载页面。一旦我删除了这个函数,页面就会立即加载。
有人知道为什么会这样吗?或者我如何调试它?
谢谢
发布于 2013-02-17 21:01:58
安装php enchant插件的步骤。
APACHE http://apache.mivzakim.net//httpd/binaries/win32/#warnings
PHP http://windows.php.net/download/
在APACHE http://php.net/manual/en/install.windows.apache2.php上启用PHP
使用WAMP时,附魔将不起作用。(至少它还没有...)。
然后添加以下路径
共享\myspell\dicts
添加到PHP目录中。
应该是这样的。
C:\PHP\share\myspell\dicts
把字典文件放在那里。.aff .dic
https://stackoverflow.com/questions/14315630
复制相似问题