ZF-108: Document Framework Requirements

Issue Type: Docs: Improvement Created: 2006-06-21T21:59:29.000+0000 Last Updated: 2008-06-15T21:26:13.000+0000 Status: Resolved Fix version(s): - 1.0.2 (25/Sep/07)

Reporter: Zend Framework (zend_framework) Assignee: Bill Karwin (bkarwin) Tags: Related issues: - ZF-691



  • access to either MTA or "sendmail" equivalent for per use invocations via PHP's mail() * mod_rewrite (or equivalent) * PHP version * minimum versions of DB for each DB adapter * gd (some versions have memory leaks) * libjpeg - external dependency (used by gd) * etc.


06/05/06 18:09:10: Modified by gavin

* owner changed from zend to gavin.
* status changed from new to assigned.
* component changed from Other to Documentation.

06/14/06 16:07:14: Modified by gavin

* priority changed from major to critical.
* reporter changed from anonymous to gavin.… {quote}


Posted by Gavin (gavin) on 2006-06-26T18:01:51.000+0000…

Posted by Gavin (gavin) on 2006-06-26T18:06:32.000+0000

Example showing how to check for zlib extension:

<pre class="highlight">
public static function encode($data, $params = null)
43     {
44         if ($params != null) {
45             $data = self::_applyEncodeParams($data, $params);
46         }
48         if (extension_loaded('zlib')) {
49             $trackErrors = ini_get( "track_errors");
50             ini_set('track_errors', '1');
52             if (($output = @gzcompress($data)) === false) {
53                 ini_set('track_errors', $trackErrors);
54                 throw new Zend_Pdf_Exception($php_errormsg);
55             }
57             ini_set('track_errors', $trackErrors);
58         } else {
59             throw new Zend_Pdf_Exception('Not implemented yet');
60         }

Posted by Gavin (gavin) on 2006-09-05T22:17:49.000+0000

Configuration checks like the one above, extension_loaded('zlib'), should be moved to installation or configuration, instead of placed in code that executes on every request. Zend_Environment will help support such checks.

Posted by Gavin (gavin) on 2006-10-19T20:36:46.000+0000

The iconv extension is required for several ZF components.

This extension is included by default with PHP 5.1.4+, and removal requires also removing libxml (also required for ZF). Thus, it is unlikely people will lack access to iconv.

Posted by Bill Karwin (bkarwin) on 2006-11-13T15:09:06.000+0000

Changing fix version to unknown.

Posted by Ralph Schindler (ralph) on 2006-12-27T13:27:43.000+0000

This issue should be resolved buy the section in the coding standards doc, specifically this section:…

Posted by Gavin (gavin) on 2007-01-29T20:15:58.000+0000

This task can not be completed until the devteam decides what requirements should be documented (e.g. minimum required PHP extensions for the entire ZF, or per component, or all extensions/libraries that might be optionally be used, if present).

Posted by Bill Karwin (bkarwin) on 2007-06-01T18:31:00.000+0000

Revision 5084 contains preliminary information about Zend Framework requirements.

Posted by Bill Karwin (bkarwin) on 2007-08-22T21:16:10.000+0000

Requirements stated in revision 6049, which should be in ZF 1.0.2.

Posted by Wil Sinclair (wil) on 2008-06-15T21:26:13.000+0000

Updating to comply with new IT component conventions.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.