We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.