requirements.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <appendix id="requirements" xmlns:xi="http://www.w3.org/2001/XInclude">
  4. <title>Zend Framework Requirements</title>
  5. <sect1 id="requirements.introduction">
  6. <title>Introduction</title>
  7. <para>
  8. Zend Framework requires a <acronym>PHP</acronym> 5 interpreter with a web server
  9. configured to handle <acronym>PHP</acronym> scripts correctly. Some features require
  10. additional extensions or web server features; in most cases the framework can be used
  11. without them, although performance may suffer or ancillary features may not be fully
  12. functional. An example of such a dependency is mod_rewrite in an Apache environment,
  13. which can be used to implement "pretty <acronym>URL</acronym>'s" like
  14. "<filename>http://www.example.com/user/edit</filename>". If mod_rewrite is not enabled,
  15. Zend Framework can be configured to support <acronym>URL</acronym>'s such as
  16. "<command>http://www.example.com?controller=user&amp;action=edit</command>". Pretty
  17. <acronym>URL</acronym>'s may be used to shorten <acronym>URL</acronym>'s for textual
  18. representation or search engine optimization (<acronym>SEO</acronym>), but they do not
  19. directly affect the functionality of the application.
  20. </para>
  21. <sect2 id="requirements.version">
  22. <title>PHP Version</title>
  23. <para>
  24. Zend recommends the most current release of <acronym>PHP</acronym> for critical
  25. security and performance enhancements, and currently supports
  26. <acronym>PHP</acronym> 5.2.11 or later.
  27. </para>
  28. <para>
  29. Zend Framework has an extensive collection of unit tests, which you can run using
  30. PHPUnit 3.4.15 or later.
  31. </para>
  32. </sect2>
  33. <sect2 id="requirements.extensions">
  34. <title>PHP Extensions</title>
  35. <para>
  36. You will find a table listing all extensions typically found in
  37. <acronym>PHP</acronym> and how they are used in Zend Framework below. You should
  38. verify that the extensions on which Zend Framework components you'll be using in
  39. your application are available in your <acronym>PHP</acronym> environments. Many
  40. applications will not require every extension listed below.
  41. </para>
  42. <para>
  43. A dependency of type "hard" indicates that the components or classes
  44. cannot function properly if the respective extension is not available,
  45. while a dependency of type "soft" indicates that the component may use
  46. the extension if it is available but will function properly if it is not.
  47. Many components will automatically use certain extensions if they are available
  48. to optimize performance but will execute code with similar functionality in the
  49. component itself if the extensions are unavailable.
  50. </para>
  51. <xi:include href="requirements-php-extensions-table.xml" />
  52. </sect2>
  53. <sect2 id="requirements.zendcomponents">
  54. <title>Zend Framework Components</title>
  55. <para>
  56. Below is a table that lists all available Zend Framework Components
  57. and which <acronym>PHP</acronym> extension they need. This can help guide you
  58. to know which extensions are required for your application.
  59. Not all extensions used by Zend Framework are required for every
  60. application.
  61. </para>
  62. <para>
  63. A dependency of type "hard" indicates that the components or classes
  64. cannot function properly if the respective extension is not available,
  65. while a dependency of type "soft" indicates that the component may use
  66. the extension if it is available but will function properly if it is not.
  67. Many components will automatically use certain extensions if they are available
  68. to optimize performance but will execute code with similar functionality in the
  69. component itself if the extensions are unavailable.
  70. </para>
  71. <xi:include href="requirements-zendcomponents-table.xml" />
  72. </sect2>
  73. <sect2 id="requirements.dependencies">
  74. <title>Zend Framework Dependencies</title>
  75. <para>
  76. Below you can find a table listing Zend Framework Components
  77. and their dependencies to other Zend Framework Components. This
  78. can help you if you need to have only single components instead
  79. of the complete Zend Framework.
  80. </para>
  81. <para>
  82. A dependency of type "hard" indicates that the components or classes
  83. cannot function properly if the respective dependent component is not available,
  84. while a dependency of type "soft" indicates that the component may need
  85. the dependent component in special situations or with special adapters.
  86. At last a dependency of type "fix" indicated that these components or classes are
  87. in any case used by subcomponents, and a dependency of type "sub" indicates that
  88. these components can be used by subcomponents in special situations or with special
  89. adapters.
  90. </para>
  91. <note>
  92. <para>
  93. Even if it's possible to separate single components for
  94. usage from the complete Zend Framework you should keep
  95. in mind that this can lead to problems when files are missed
  96. or components are used dynamically.
  97. </para>
  98. </note>
  99. <xi:include href="requirements-dependencies-table.xml" />
  100. </sect2>
  101. </sect1>
  102. </appendix>
  103. <!--
  104. vim:se ts=4 sw=4 et:
  105. -->