This article reflects v3.4 and has not yet been revised

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 download the Phalcon DLL that suits your WAMPP installation.

После скачивания библиотеки Phalcon у вас будет zip-файл, примерно такой как показано ниже:

Распакуйте архив и получите файл библиотеки Phalcon DLL:

Copy the file php_phalcon.dll to the PHP extensions folder. If WAMP is installed in the C:\wamp folder, the extension needs to be in C:\wamp\bin\php\php5.5.12\ext (assuming your WAMP installation installed PHP 5.5.12).

Edit the php.ini file, it is located at C:\wamp\bin\php\php5.5.12\php.ini. Для редактирования можно использовать Блокнот или любую подобную программу. We recommend Notepad++ to avoid issues with line endings. Добавьте в конец файла:

```ini extension=php_phalcon.dll

<br />и сохраните его.

![](/assets/images/content/webserver-wamp-2.png)

Also edit the `php.ini` file, which is located at `C:\wamp\bin\apache\apache2.4.9\bin\php.ini`. Добавьте в самый конец файла:

extension=php_phalcon.dll 

и сохраните его.

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.

Open your browser to navigate to https://localhost. The WAMP welcome page will appear. Check the section extensions loaded to ensure that phalcon was loaded.

Congratulations! You are now phlying with Phalcon.

Дополнительные руководства