Home > Backend Development > PHP Tutorial > 最近要安装加密扩展库Mcrypt,环境win7 apache总是失败,求助各位

最近要安装加密扩展库Mcrypt,环境win7 apache总是失败,求助各位

WBOY
Release: 2016-06-23 14:08:55
Original
1137 people have browsed it

我根据这个帖子http://blog.csdn.net/zc2087/article/details/5129904 http://blog.csdn.net/zc2087/article/details/5129904

先把PHP的主目录下包含了libmcrypt.dll和libmhash.dll文件复制到系统目录windows/system32下,然后在 PHP.ini文件中按Ctrl+F快捷键跳出查找框,并找到;extension=php-mcrypt.dll和; extension=php_mhash.dll这两个语句,接着将前面的“;”去掉;
最后,保存并重启Apache服务器。

却没有生效 请问各种牛人是什么原因呢


回复讨论(解决方案)

看看php.ini里扩展库的路径。放到哪个路径下

看看php.ini里扩展库的路径。放到哪个路径下

我在32位的xp系统下安全就可以~~~

还要把ext目录下的php_mcrypt.dll和php_mhash.dll一起放在system32下 重启就可以了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template