We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

php_phalcon.dll - Unable to load dynamic library

Im new to Phalcon and I have just deployed it on XAMPP locally(on windows), I put the phalcon dll in the correct location and edited the php.ini, and when I restart apache via XAMPP control panel, it shows a warning dialog box saying: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_phalcon.dll' - %1 is not a valid Win32 application.

Can someone please point out what I have done wrong perhaps? Thanks



234
Accepted
answer

You need to install the right php_phalcon.dll, you most likely installed the wrong one.