Home > Backend Development > PHP Tutorial > Install phalcon

Install phalcon

WBOY
Release: 2016-07-29 09:12:32
Original
1393 people have browsed it
The environment is 64-bit Win7, Wampserver2.4 integration package (Apache 2.4.4, php5.4.12, MySQL 5.0.10).

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

The download address is http://phalconphp.com/download. Unzip php_phalcon.dll and place it under the binphpphp5.4ext directory of {WampServer installation directory},

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template