Open PHP.ini,
Remove "; Extension=php_openssl.dll" before the semicolon.
Remove "; Extension=php_mcrypt.dll" before the semicolon
After restarting Apache also saw in the Apache log read Apache error log: Prompt "Cannot load XXX dynamic Library" problem, we later found that need to replicate the directory or set environment variables.
1, to open MCrypt support, the system needs to install the Libmcrypt.dll library.
This general user is not installed, but do not worry, PHP Windows release package has been shipped to us with this file, in the PHP compression package root directory can be found, and then copy it to the%system%/system32 directory.
2, to open OpenSSL support, the system needs to install Libeay32.dll and Ssleay32.dll two libraries.
If you have previously installed OpenSSL, then your system directory should already have these two files, if not installed, PHP Windows release package also shipped with the two files, copy it to the%system%/system32 directory.
environment variable Settings
WinXP, right-click My Computer-Properties-advanced-environment variable-system variable-variable path-double click
Win7, right-click Computer-Properties-Advanced system settings-environment variables-system variables-double-click