Skip to content
Advertisement

Can’t Load Phalcon Extension On Windows with Xampp

Currently I am using

a. PHP Version : 7.4.4

b. Web Server: XAMPP

c. Architecture : x64

d. OS: Windows 10

What I’ve Tried

a. I downloaded phalcon_x64_vc15_php7.4_4.0.5+5010.zip from Phalcon Repo

b. Then I added extracted the file and copied php_phalcon.dll to C:xamppphpext

c. When to php.ini and added this following line extension=php_phalcon.dll

d. Restarted my Xampp server

Output

a.Checked my phpinfo() , but phalcon extension is missing.

b.Checked my apache_error_log , got the following error

PHP Warning:  Cannot load module 'phalcon' because required module 'psr' is not loaded in Unknown on line 0

Please advise.

Thank you.

Advertisement

Answer

Phalcon requires the PSR extension.

You can download it : https://pecl.php.net/package/psr

If you need more info about psr : https://github.com/jbboehr/php-psr

And add it to Xampp like you did with php_phalcon.dll

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement