SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast hellsgate's Avatar
    Join Date
    Jun 2004
    Location
    Greenock
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem loading php_mcrypt_filter.dll

    Lo guys,

    I'm getting the following warning:
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mcrypt_filter.dll' - The specified module could not be found.
    in Unknown on line 0

    I've checked my php.ini and the extensions folder is set to C:\Program Files\PHP\ext. The php_mcrypt_filter.dll is there. I also tried copying the .dll into my Windows/system32 folder, but this didn't help.

    I'm running WindowsXP SP2 with IIS, PHP v5.2.1 and MySQL v5.0.37. I would post this problem to news.php.net, but for some reason I can't connect to any newsgroups through my ISP (another problem I'm trying to sort at the moment)

    Anyone have any ideas?
    hellsgate

  2. #2
    SitePoint Zealot
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've done all the things that I would have done. One thing that sometimes happens, is the php.ini file you think you're using isn't being used. Run the phpinfo(); and look at what php.ini is being used, and make sure it's the one in your /program files/php/ folder.

  3. #3
    SitePoint Enthusiast hellsgate's Avatar
    Join Date
    Jun 2004
    Location
    Greenock
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, it is that file. I also done a search on my hard drive to make sure I have only one instance of php.ini.

  4. #4
    SitePoint Zealot
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you try with php5.1.6?

  5. #5
    SitePoint Evangelist ikeo's Avatar
    Join Date
    Oct 2004
    Location
    Austin Texas
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had this problem for almost 2 years before I figured it out. A lot of people who have this problem installed php using an installer. What you need to do is
    - go to this link http://www.php.net/releases/index.php

    - Find the EXACT version of the php BINARY that matches your own.

    - Download and unzip it to your desktop, then copy the mcrypt.dll from there to your extensions folder overwriting the one you have already (back it up just in case).

    - Then apparently libmcrypt.dll is required by php_mcrypt.dll but isn't included with PHP by default. http://www.php.net/manual/en/ref.mcrypt.php
    Here are instructions
    http://files.edin.dk/php/win32/mcrypt/README.txt

    Post back, so I can feel warm and fuzzy inside, if that solved it or hide my head in shame if it didn't

  6. #6
    SitePoint Enthusiast hellsgate's Avatar
    Join Date
    Jun 2004
    Location
    Greenock
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the suggestions guys.

    ikeo I had this problem for almost 2 years before I figured it out. A lot of people who have this problem installed php using an installer. What you need to do is
    - go to this link http://www.php.net/releases/index.php

    - Find the EXACT version of the php BINARY that matches your own.

    - Download and unzip it to your desktop, then copy the mcrypt.dll from there to your extensions folder overwriting the one you have already (back it up just in case).

    - Then apparently libmcrypt.dll is required by php_mcrypt.dll but isn't included with PHP by default. http://www.php.net/manual/en/ref.mcrypt.php
    Here are instructions
    http://files.edin.dk/php/win32/mcrypt/README.txt

    Post back, so I can feel warm and fuzzy inside, if that solved it or hide my head in shame if it didn't
    I'll give this a bash in the morning (I need my bed just now) and let you know how I get on.

    Can you try with php5.1.6?
    If I have no joy with ikeo's suggestion I'll try this.

    I'll let you know how I get on either way.

  7. #7
    SitePoint Enthusiast hellsgate's Avatar
    Join Date
    Jun 2004
    Location
    Greenock
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers ikeo, that kinda worked. I copied the libmcrypt.dll into the Windows/system32 folder and I'm now getting a different error message, so I'll open a new thread for that. Thanks again matey.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •