Appserv mcrypt 与 Windows 7
我已经取消了 php.ini 中的注释 我已经将 libmcrypt.dll 放入 system32/ 我已经检查了 appserv/php5/ext/ 包含 php_mcrypt.dll 我已经重启电脑很多次了 我正在使用 PC
,但仍然无法加载
任何解决方案?
i have already uncomment in php.ini
i have already put the libmcrypt.dll in system32/
i have already check the appserv/php5/ext/ contains php_mcrypt.dll
i have already restart PC many time
and im using PC
but still cant load it
any solution??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
打开 php.ini 文件,即
C:\Windows\php.ini
,并将;extension=php_mcrypt.dll
更改为extension=php_mcrypt .dll
(只需从行的开头删除;
)。将文件
C:\AppServ\php5\libmcrypt.dll
复制到文件夹C:\AppServ\Apache2.2
。重新启动 Apache。
Open your php.ini file, which is
C:\Windows\php.ini
, and change;extension=php_mcrypt.dll
toextension=php_mcrypt.dll
(just removing the;
from the beginning of the line).Copy the file
C:\AppServ\php5\libmcrypt.dll
to folderC:\AppServ\Apache2.2
.Restart Apache.
尝试将 libmcrypt.dll 放在 C:/windows/ 而不是 system32/
try to put your libmcrypt.dll at C:/windows/ not system32/
无需复制这些
system32
或windows
文件夹。除了在php.ini
中启用扩展之外,您只需将{Your-PHP-Root}\libmcrypt.dll
复制到{Your-Apache-Root} \bin
,然后重新启动apache,问题应该就解决了。No need to copy those
system32
orwindows
folders. Besides enable the extension inphp.ini
, you only need to copy{Your-PHP-Root}\libmcrypt.dll
to{Your-Apache-Root}\bin
, then restart apache, the problem should be solved.