Kamran
Kamran

Reputation: 2741

How to configure Phalcon with Lighttpd

I am trying to use Phalcon with Lighttpd. After downloading and placing phalcon C extension in php/ext folder I added the line extension=php_phalcon.dll to php.ini file and getting the following error.

PHP version : php-5.5.23-nts-Win32-VC11-x86
Phalcon Extension : phalcon_x86_VC11_php5.5.0_2.0.0_nts

Contents of php.ini: http://pastebin.com/vimmjUm1
Output of phpinfo(): http://www.awesomescreenshot.com/image/93943/73d3d8d5fd772bc0dd9acef37c3a92e5

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_phalcon.dll' - The specified module could not be found. in Unknown on line 0

Upvotes: 1

Views: 274

Answers (2)

alireza
alireza

Reputation: 88

there are some things that must compatible with each other:

1- Version of PHP and phalcon 
2- PHP 32bit can load phalcon 32bit
3- In windows download and install all version of VC 9,10,11,...

I have the same problem but with WAMP. My problem is about version of VC and phalcon dll.

Upvotes: 0

Rob
Rob

Reputation: 4987

After checking out the screenshots, it looks like you have the extension in the wrong path.

As you can see from the output of phpinfo(), the extensionpath is C:\php and that is where the .dll file should be.

From what you say it sounds like you put the extension DLL's inside C:\php\ext which is incorrect.

I recommend to always check the PHP info for parsed and active config.

Upvotes: 1

Related Questions