We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Install phalcon in windows

Download Windows DLLs can be downloaded from our Github release page here

Installation To use phalcon on Windows you can download a DLL library. Edit your php.ini, append at the end, and restart your webserver to load the extension. More.

extension=php_phalcon.dll

This is written on the documentation page for installing on Windows. I go to the php configuration file and there all extensions are written without .dll Nothing works for me either on the server or locally. Help.



14.4k

phalcon died? I didn't find anything working. There are no instructions on how to install it either on the server or on Windows. Make step-by-step instructions so I can install on ubuntu or something else to just work. If not, write on your blog that the project is closed and do not torment the poor fellows

  1. https://docs.phalcon.io/4.0/en/installation#windows
  2. The DLLs can be found in our download page.
  3. https://github.com/phalcon/cphalcon/releases/tag/v4.1.0
  4. Scroll down, click on word "Assets", pick version you need


14.4k

я это уже перелопатил и вдоль и поперек. У меня не получается добиться от фалкона жизни. Я грущу.



4.5k
edited Nov '20

I wouldn't use windows as a way to set-up a LAMP environment. use linux. Debian or Ubunto are two solid choices. It would be quite easy to get a working environment running phalcon.

On a fresh installation install the following mariaDB apache2 or nginx php

The following tutorial will guide you with installing a LAMP set-up https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mariadb-php-lamp-stack-on-debian-10

if that is running you can install phalcon

sudo apt-get install php7.4-phalcon4

Wait a few moments and once ready create an index.php file with <?php phpInfo() ?> in it in the root of your site and open the site in a browser. Then scrolldown to find phalcon among the installed php extensions to see what version you are running. Should be version 4.x

After that you are set to use phalcon.

You can also use vagrant with virtualbox, if you are familair with that, to create a vps on your windows system that you can user as a development/test server.



14.4k

[email protected]:/home/serg# apt-get install php7.4-phalcon4 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.4-phalcon4 E: Couldn't find any package by glob 'php7.4-phalcon4' E: Couldn't find any package by regex 'php7.4-phalcon4'



4.5k

I see that I use the following to be able to have more then one PHP version running at once. Sorry I forgot to add the in my previous answer.

Allow for multiple versions of php

curl -L "https://packages.sury.org/php/apt.gpg" 2> /dev/null | apt-key add - echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list

make sure you are root when you run these.

After that do a apt-get update to update the package list.

You might need to remove your current php packages first and reinstall them again after the process above is finished. After that install phalcon4 with the following command "sudo apt-get install php-phalcon4".



14.4k

[email protected]:/home/serg# curl -L "https://packages.sury.org/php/apt.gpg" 2> /dev/null | apt-key add - echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). gpg: can't open 'echo': No such file or directory gpg: can't open 'deb https://packages.sury.org/php/ groovy main': No such file or directory



4.5k
edited Nov '20

something went wrong with copy paste

sudo apt-get -y install apt-transport-https lsb-release ca-certificates curl

sudo curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'

sudo apt-get update

sudo apt-get install php-phalcon4

Copy and paste line for line