Installing Phalcon is also extremely simple. You only need to download one file (php_phalcon.dll).
Please refer to the "Architecture" attribute in phpinfo()!
Download the corresponding version
Then modify the php.ini file
add the parameter "extension=php_phalcon.dll" to the PHP.ini configuration file,then restart Apache The service is fine.
After restarting, use phpinfo to check whether the installation is successful.If the server reports 500 internal server error,
It usually means that the Phalcon version and the environment are not consistent.
For example, "Phalcon 1.1.0 - Windows x86 for PHP 5.4.0 NTS (VC9)",is for 32-bit systems (x86), and the corresponding PHP version is 5.4.0 (as long as it is 5.4) , such as 5.4.1 will also work).
NTS is non-linearly safe. If your phpinfo() shows that "Thread Safety" is "enabled",then you need to download the one without the "NTS" flag. "VC9" is used to mark the compiler, and now only VC9 can be downloaded.
Of course, you can also judge based on the "Compiler" attribute in phpinfo().When installing Phalcon, you cannot judge which installation package to download based on the operating system version,
but based on the "Architecture" attribute in phpinfo()!Because Phalcon exists as an extension of PHP, of course it depends on the number of PHP!
The above introduces the installation of phalcon, including Apache content. I hope it will be helpful to friends who are interested in PHP tutorials.