Cannot load mcrypt extension. Please check your PHP configuration.

Had to download the same version of php, and recompile with  –mcrypt, then replace the libphp5.so. (There’s no mcypt.so etc.)

php -m shows [PHP Modules]

php -i shows configuration. Look for configure command.

=====================

1. Download the same version of php source tarball.

2. Using php -i, get the existing configure command.

3. Then add –with-mcrypt.  

4. Recompile php and get the newer libphp5.so.

5. Copy libphp5.so to Apache module directory

6. Restart (or reload) Apache.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.