3

PHP Startup: unable to load dynamic library 'C:\xampp\php\ext\php_memcached.dll' -%1 is not a valid Win32 application.

This error is keep showing whenever I restart Apache Server(Using xampp).
I have installed memcached and started using command prompt, memcached.exe -d start and its running fine as I checked task manager.

Now, How to fix it? Am I not using right .dll file?

1

2 Answers 2

4

Try phpinfo() and check right on top, where it says Compiler, if you downloaded the correct VC8/9/10 32/64bit version of the .dll, exchange it - if needed - restart apache and you should be fine. Sometimes this can be a bit tedious to find the corresponding .dll's, good luck!

Sign up to request clarification or add additional context in comments.

1 Comment

I am having same issue of php_memcache.ddl. With VC8/9/10 32/64bit version of the .dll, I didn't get your mean by VC8/9/10 32/64bit. When I tried phpinfo(), the Compiler value is Visual C++ 2017 and the php version is 7.4.14. Can you please guide what should I do to get it fixed.
0

yes. regardless windows 64, 86 version nor non-thread safe version or other. Try all version to figure out if what version is suite for your xampp.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.