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

XAMPP - phalcon extension not showing in phpinfo()

Hi there,

I don't have any clou why phalcon extension isn't found by my system. I installed XAMPP with PHP Version 5.6.3

Installed homebrew and installed phalcon-56

phpinfo() shows, that my extensiondir ist:

/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226

and "Loaded Configuration File"

/Applications/XAMPP/xamppfiles/etc/php.ini

So I copied phalcon.so to the extensiondir and added the line "extension=phalcon.so" to my php.ini file. Restartet Apache Web Server via XAMPP Manager. But phpinfo() doesn't show phalcon extension.

What did I wrong?!

Thanks a lot!



8.9k

Ok, that's the problem:

[12-Jan-2015 08:29:25 Europe/Berlin] PHP Warning: PHP Startup: phalcon: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20131226 These options need to match in Unknown on line 0

Does anybody know how to solve this?

Thx!

How do you check it? From command line?



8.9k

"php_error_log" from logs dir of apache



98.9k

It looks like you installed a wron version, you need the one for 5.6 TS



58.4k

Hey

If you haven't money buy VPS, you can used cloud Koding with packages free. I think it good when using Phalcon