This directory contains:
<php-version>/safe
, <php-version>/32bits
and <php-version>/64bits
directories_resources
directoriesgen-build.php
scriptYou can omit this step, if you've got source code for stable Phalcon version. Everything is up-to-date there.
The source code, used to build Phalcon extension, is not the actual code, being developed. When preparing to build
Phalcon extension, gen-build.php
script needs to be executed. It copies, merges and slightly optimizes all the
sources, putting them into <php-version>/safe
, <php-version>/32bits
and <php-version>/64bits
directories.
The algorithm of gen-build.php
is as follows:
<phalcon_root>/ext/
directory<php-version>/safe
directory<php-version>/32bits
and <php-version>/64bits
directoriesAfter those manipulations, any of the build directories contain full code, which can be used to build Phalcon. The differences of the directories are:
<php-version>/safe
directory contain source code to build Phalcon for any PHP - either 32 bit or 64 bit<php-version>/32bits
directory contain slightly optimized source code to build Phalcon for 32 bit PHP,
it will not work properly with 64 bit PHP<php-version>/64bits
directory contain slightly optimized source code to build Phalcon for 64 bit PHP,
it will not work properly with 32 bit PHPRun gen-build.php
, if you're working with development version of Phalcon sources and want to rebuild the extension.
Running the tool for stable version of Phalcon sources will not do anything new, because build directories are
regenerated by Phalcon team for every stable release.
The tool requires PHP 5.5+ to regenerate <php-version>/safe
directory. Additionally, installed Phalcon extension is
needed to regenerate <php-version>/32bits
and <php-version>/64bits
directories.
After running gen-build.php
you are ready to build Phalcon extension.
Please, refer to Phalcon documentation
Please, refer to Phalcon Internals documentation
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。