Install Phalcon PHP Xampp - Apache Cannot Find DLL

I am using Windows 7 64bit, Xampp 1.8.3 (since PHP 5.5). I follow the Phalcon Installation Guide , I downloaded the version of Phalcon x86, as in this guide. Then I put the php_phalcon.dll file in D: / xampp / php / ext. Then I add the php.ini file:

extension=php_phalcon.dll 

Great, so I'm having Xampp lunch and starting Appache. And then:

the most pathetic error http://ubplanet.pl/uploads/images/UBPlanet-1392741295-U15373.png

After clicking the "OK" button, I immediately get a second error: second error http://ubplanet.pl/uploads/images/UBPlanet-1392741373-U15373.png

Well, I tried everything: reinstalling xampp; install it on drive C; So I'm trying to install phalcon on WAMP, but I also got an error! So I decided to reinstall all Windows with disk formatting. And in a completely new Windows, I also have the same errors. PHP doesn't seem to be able to load libraries, but why?

+7
php apache xampp wamp phalcon
source share
2 answers

If you use Xampp x64, this does not mean that your php is x64

first you need to check your setup with phpinfo to check 3 things

  • php version
  • Compiler
  • Architecture

if you have the x84 architecture and the VC11 compiler, you need to download the DLL that matches your setup from the phalcon site.

about the version of the latest version currently supported by writing this answer on the phalcon site is 5.5.0

if your php version is higher than 5.5.5, you need to find a custom build for Phalcon you can check it on github https://github.com/andont/phalcon-win this person worked with me personally.

if all this does not work, and you could not find any DLL file that you installed (and I believe that you can find it), in this case you need to create your own by compiling the source code in the Microsoft visual studio, which The compiler and architecture matched your setup, and I hope you don't get the latest solution :)

+13
source share

I had so many problems with PHP and Windows, you may just need to download the virtual box and deploy the ubuntu virtual machine. You will have the benefits of running a project in an environment that is likely to be very similar if it is not nearly identical to the environment you will be running if it were on a production server. This clearly does not answer your question, I know, but this is just good advice.

0
source share

All Articles