<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 安裝(Installation) # 安裝(Installation) 作為PHP C拓展形式的Phalcon,需要一個略微不同于傳統PHP的庫或框架的安裝方法。你可以選擇一個當前系統的一個二進制包下載,或者使用源代碼構建它。 > Phalcon 可編譯在PHP 5.3.1及以上版本,但是因為老PHP版本錯誤導致內存泄漏,我們強烈推薦你使用PHP 5.3.11或更高版本。 > PHP 5.3.9版本以前有幾個安全漏洞,不建議在生產網站中使用。[學習更多](http://www.infoworld.com/d/security/php-539-fixes-hash-collision-dos-vulnerability-183947) ### Windows 要在Windows上使用Phalcon,你可以下載一個DLL庫。編輯php.ini文件,并且在最后附加上: > extension=php\_phalcon.dll 重啟你的Web服務器。 下面的視頻是一個在Windows上安裝Phalcon的步驟指南: ### 相關指南(Related Guides) - [XAMPP 下的安裝(Installation on XAMPP)](#) - [WAMP 下安裝(Installation on WAMP)](#) ### Linux/Solaris/Mac 在Linux/Solaris/Mac系統下,你能很輕易從源代碼編譯和安裝這個拓展: ### 基本要求(Requirements) 必要的包: - PHP 5.3.x/5.4.x/5.5.x development resources - GCC compiler (Linux/Solaris) or Xcode (Mac) - Git (如果不是已經安裝在你的系統,且你沒有從Github上下載這個包并通過FTP/SFTP上傳到你的服務器上) 通用平臺下安裝指定的軟件包: ``` <pre class="calibre14">``` #Ubuntu sudo apt-get install php5-dev libpcre3-dev gcc make php5-mysql # Suse sudo yast -i gcc make autoconf2.13 php5-devel php5-pear php5-mysql # CentOS/RedHat/Fedora sudo yum install php-devel pcre-devel gcc make #Solaris pkg install gcc-45 php-53 apache-php53 ``` ``` ### 編譯(Compilation) 創建擴展: ``` <pre class="calibre14">``` git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install ``` ``` 添加擴展到你的php配置文件: ``` <pre class="calibre14">``` # Suse: Add this line in your php.ini extension=phalcon.so # Centos/RedHat/Fedora: Add a file called phalcon.ini in /etc/php.d/ with this content: extension=phalcon.so # Ubuntu/Debian: Add a file called 30-phalcon.ini in /etc/php5/conf.d/ with this content: extension=phalcon.so # Debian with php5-fpm: Add a file called 30-phalcon.ini in /etc/php5/fpm/conf.d/30-phalcon.ini with this content: extension=phalcon.so ``` ``` 重啟Web服務器. 如果你在 Debian 下使用 php5-fpm,重啟命令為: ``` <pre class="calibre14">``` sudo service php5-fpm restart ``` ``` Phalcon自動檢測你的系統架構,然而,您可以強制編譯為一個特定的架構: ``` <pre class="calibre14">``` cd cphalcon/build sudo ./install 32bits sudo ./install 64bits sudo ./install safe ``` ``` If the automatic installer fails try building the extension manually: ``` <pre class="calibre14">``` cd cphalcon/build/64bits export CFLAGS="-O2 --fvisibility=hidden" ./configure --enable-phalcon make && sudo make install ``` ``` ### Mac OS X On a Mac OS X system you can compile and install the extension from the source code: ### Requirements Prerequisite packages are: - PHP >= 5.4 development resources - XCode ``` <pre class="calibre14">``` # brew brew tap homebrew/homebrew-php brew install php54-phalcon brew install php55-phalcon brew install php56-phalcon # MacPorts sudo port install php54-phalcon sudo port install php55-phalcon sudo port install php56-phalcon ``` ``` Add extension to your PHP configuration: ### FreeBSD 對于FreeBSD,僅僅只需要簡單的命令進行安裝: ``` <pre class="calibre14">``` pkg_add -r phalcon ``` ``` 或者 ``` <pre class="calibre14">``` export CFLAGS="-O2 --fvisibility=hidden" cd /usr/ports/www/phalcon && make install clean ``` ``` ### 安裝說明(Installation Notes) 常見Web服務器的安裝說明: - [Apache 安裝說明(Apache Installation Notes)](#) - [Nginx 安裝說明(Nginx Installation Notes)](#) - [Cherokee 安裝說明(Cherokee Installation Notes)](#) - [使用 PHP 內置 web 服務器(Using PHP Built-in webserver)](#) | - [索引](# "總目錄") - [下一頁](# "XAMPP 下的安裝(Installation on XAMPP)") | - [上一頁](# "Welcome!") |
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看