Table Of Contents

Previous topic

< Installation on XAMPP

Next topic

Apache Installation Notes >

Installation on WAMP

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Below are detailed instructions on how to install Phalcon on WampServer for Windows. Using the latest WampServer version is highly recommended.

Download the right version of Phalcon

WAMP has both 32 and 64 bit versions. From the download section, you can choose the Phalcon for Windows accordingly to your desired architecture.

After download the Phalcon library you will have a zip file like the one shown below:

https://d33wubrfki0l68.cloudfront.net/eb6003eb76cf9503dabd7bbf0b65af056e903c21/fbd1f/assets/img/xampp-1.png

Extract the library from the archive to get the Phalcon DLL:

https://d33wubrfki0l68.cloudfront.net/cafe38583aadea6f45f130c3a43a763163c00d01/95426/assets/img/xampp-2.png

Copy the file php_phalcon.dll to the PHP extensions. If WAMP is installed in the c:\wamp folder, the extension needs to be in C:\wamp\bin\php\php5.3.10\ext

https://d33wubrfki0l68.cloudfront.net/cff69d8683e870b48f272faa4b0e6ce3d94ca1d8/98b8a/assets/img/wamp-1.png

Edit the php.ini file, it is located at C:\wamp\bin\php\php5.3.10\php.ini. It can be edited with Notepad or a similar program. We recommend Notepad++ to avoid issues with line endings. Append at the end of the file: extension=php_phalcon.dll and save it.

https://d33wubrfki0l68.cloudfront.net/40768cd29ed80f607310b71515afe67aa94a5a28/e61ef/assets/img/wamp-2.png

Also edit another php.ini file, which is located at C:\wamp\bin\apache\Apache2.2.21\bin\php.ini. Append at the end of the file: extension=php_phalcon.dll and save it.

Restart the Apache Web Server. Do a single click on the WampServer icon at system tray. Choose “Restart All Services” from the pop-up menu. Check out that tray icon will become green again.

https://d33wubrfki0l68.cloudfront.net/5e033ec9dacd4208e082b78a5ed6c6f8843e000e/88d15/assets/img/wamp-3.png

Open your browser to navigate to http://localhost. The WAMP welcome page will appear. Look at the section “extensions loaded” to check if phalcon was loaded.

https://d33wubrfki0l68.cloudfront.net/da6358db0eccdb0888c3eaa5c0208a98e00175f8/1e816/assets/img/wamp-4.png

Congrats!, You are now flying with Phalcon.