Unable To Load Dynamic Library 39;php_mcrypt.dll 39;

0 views
Skip to first unread message

Marion Georgi

unread,
Aug 5, 2024, 1:08:13 AM8/5/24
to noagethosam
Solutionto the problem that php cannot load the dynamic library: 1. Copy "libmySQL.dll" in the PHP integration package to the system32 directory; 2. Add the PHP decompression directory to PATH; 3. In Apache's configuration file uses loadfile to load some dynamic link libraries.

I discovered a very interesting thing when configuring WAMP: sometimes the mysql module can be loaded, and sometimes it cannot be loaded. After careful study, I found that when mysql can be loaded, it uses installation files, and when it cannot be loaded, mysql uses mostly compressed packages. What is the difference between the two cities?


Then restart the system - just restarting apache will not work , when you check the PATH parameter of "Apache Environment" in phpinfo(), you will find that the "PATH" item has not changed at all. If you can change the application without restarting the system, I don't know yet. Who knows, please tell me.


The dynamic link libraries to be loaded are all located in the integrated package decompression directory of PHP (usually Including libmysql.dll, php.exe, etc.). There are also three files in this directory: fribidi.dll, libeay32.dll and libswish-e.dll. I don't know what they are used for yet. As for the name and function of each module, I won't go into details.

3a8082e126
Reply all
Reply to author
Forward
0 new messages