简体   繁体   中英

Appserv mcrypt with windows 7

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??

  1. Open your php.ini file, which is C:\\Windows\\php.ini , and change ;extension=php_mcrypt.dll to extension=php_mcrypt.dll (just removing the ; from the beginning of the line).

  2. Copy the file C:\\AppServ\\php5\\libmcrypt.dll to folder C:\\AppServ\\Apache2.2 .

  3. Restart Apache.

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.

尝试将您的libmcrypt.dll放在C:/ windows /而不是system32 /

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