Wednesday, 19 November 2008

Tuesday, 18 November 2008

PHP Mcrypt

To install PHP Mcrypt:
  1. Uncomment the php_mcrypt.dll extension in the php.ini file
  2. Copy the libmcrypt.dll from the PHP install root to C:\WINDOWS\System32\
  3. Restart WWW service

Zend Optimiser Error

After installing Zend Optimiser v3.3 on a Windows Server 2003 running Plesk 8.2 I noticed an error at the very bottom of all PHP pages.

The error stated:

"Unable to load dynamic library"

"The specified module could not be found"

It listed out various DLL files like php_curl.dll, php_gd2.dll.

The solution was found here:

http://kb.parallels.com/en/975

To fix this problem , the following key needs to be removed:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath.

Then all .php scripts will continue using correct .ini files.