Appserv mcrypt with windows 7
i have already uncomment in php.ini i 开发者_StackOverflow社区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??
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.
try to put your libmcrypt.dll at C:/windows/ not system32/
No need to copy those system32
or windows
folders. Besides enable the extension in php.ini
, you only need to copy {Your-PHP-Root}\libmcrypt.dll
to {Your-Apache-Root}\bin
, then restart apache, the problem should be solved.
精彩评论