jojo's blog--快樂憂傷都與你同在
          為夢想而來,為自由而生。 性情若水,風起水興,風息水止,故時而激蕩,時又清平……
          posts - 11,  comments - 30,  trackbacks - 0

          PHP Requirements

          As PHP version the eZ Components require version 5.2.1, although a later version is always recommended. The latest version of PHP can be downloaded here.

          eZ Components versions before the 2008.1 release require PHP version 5.1.6. Please be aware that no updates for those releases are being made anymore.

          Some of the components require that certain PHP extensions are enabled in the build. While most of them are enabled by default, some of them have to added explicitly. The table below lists all the components, and which extensions are required or optional.

          Required and Preferred Extensions

          Component Extension (default) Extension Required Extension Optional
          All pcre, spl, reflection    
          Authentication     openssl and bcmath or gmp for TypeKey and OpenID support, ldap for LDAP support
          AuthenticationDatabaseTiein     Same as Database
          Archive zlib, posix bz2 posix for permission support
          Base posix   posix to test if features are enabled
          Cache     memcache and zlib for Memcache storage, apc for APC storage
          Configuration posix    
          ConsoleTools      
          Database pdo, pdo_sqlite   pdo_mysql, pdo_oci8, pdo_pgsql, pdo_mssql/pdo_dblib, depending on the database that you want to use
          DatabaseSchema simplexml   Same as Database
          Debug      
          EventLog     Same as Database, if you want to log to a database
          Execution      
          Feed dom    
          File      
          Graph dom, xml   gd to generate bitmaps (with TrueType font support or Type1 font support), ming for generating Graphs as flash files
          GraphDatabaseTiein pdo   Same as Database
          ImageAnalysis ctype   exif
          ImageConversion     gd
          Mail iconv   fileinfo for better detection of mime-types when sending e-mails, mcrypt for NTLM SMTP authentication, openssl for SSL support
          PersistentObject      
          PhpGenerator      
          SignalSlot      
          SystemInformation     win32ps (on Windows)
          Template      
          Translation ctype, simplexml    
          TranslationCacheTiein      
          Tree dom    
          TreeDatabaseTiein pdo   Same as Database
          Url      
          UserInput filter    
          Webdav     fileinfo or mimetype for detection of mime-types of files
          Workflow simplexml, dom    
          WorkflowDatabaseTiein     Same as Database
          WorkflowEventLogTiein     Same as Database, if you want to log to a database

          Quick Reference on Enabling Extensions

          Extensions that are enabled by default in PHP

          Extension Configure switch(es)
          ctype --enable-ctype
          dom --enable-dom --enable-libxml
          iconv --with-iconv
          pcre --with-pcre-regex
          pdo --enable-pdo
          pdo_sqlite --with-pdo-sqlite
          posix --enable-posix
          reflection --enable-reflection
          simplexml --enable-simplexml
          spl --enable-spl
          xml --enable-xml
          zlib --with-zlib

          Extensions that are bundled with PHP

          Extension Configure switch(es) Remarks
          bcmath --enable-bcmath  
          bz2 --with-bz2  
          gd --with-gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-ttf --with-xpm-dir --with-png-dir --with-jpeg-dir --with-t1lib The eZ Components want at least PNG and JPG support, other parts are optional. We suggest to compile GD also with FreeType2 support as well to enable all features of the Components.
          gmp --with-gmp  
          ldap --with-ldap  
          mcrypt --with-mcrypt  
          mimetype --with-mime-magic Deprecated in favour of fileinfo.
          ming --with-ming  
          exif --enable-exif  
          filter --enable-filter In PHP 5.2.0 and higher you can simply use --enable-filter, in PHP 5.1.x you need to install the filter extension through PECL.
          pdo_mysql --with-pdo-mysql  
          pdo_oci8 --with-pdo-oci  
          pdo_pgsql --with-pdo-pgsql  
          pdo_mssql --with-pdo-mssql On Windows (on Linux use pdo_dblib)
          pdo_dblib --with-pdo-dblib Mssql driver for Linux (on Windows use pdo_mssql). The FreeTDS software must be installed also.
          openssl --with-openssl  

          Extensions that are not bundled with PHP

          Extension Configure switch(es)
          apc You need to install the APC extension through PECL.
          fileinfo

          You need to install the fileinfo extension through PECL.

          On Windows additional configuration steps are required:
          • download magic and magic.mime files from gnuwin32 (from the Binaries Zip in the File for Windows package) and copy them to a folder, for example the folder where PHP is installed (e.g. c:\php)

          • in System settings, setup the enviroment variable MAGIC to point to the folder where you copied the magic files, plus the magic part (e.g. c:\php\magic). Restart Windows if needed.

          • alternatively you can use this command-line before running your PHP scripts:

            set MAGIC=c:\php\magic
          memcache You need to install the Memcache extension through PECL.
          posted on 2009-01-14 11:25 Blog of JoJo 閱讀(301) 評論(0)  編輯  收藏 所屬分類: Linux 技術相關

          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(6)

          隨筆檔案

          文章分類

          文章檔案

          新聞分類

          新聞檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 禹州市| 上虞市| 永年县| 青神县| 三门峡市| 连平县| 威远县| 仙桃市| 上饶市| 和平区| 古丈县| 昌黎县| 神农架林区| 景德镇市| 青海省| 洞口县| 闻喜县| 昌邑市| 太康县| 额敏县| 耒阳市| 京山县| 元阳县| 嘉荫县| 太康县| 小金县| 淳化县| 大城县| 清徐县| 海原县| 民丰县| 资中县| 长汀县| 平乡县| 墨脱县| 登封市| 伊宁市| 平潭县| 曲水县| 宁城县| 仁布县|