From 24186afa23faf9f0495a6a4bf9cc0e38e08b2713 Mon Sep 17 00:00:00 2001 From: Trick van Staveren Date: Wed, 28 May 2014 14:50:30 +0800 Subject: [PATCH] Clarify prerequisites Clean up extension names to match the actual PHP extension names (eg. 'zip' rather than 'php_zip'), trying to be distribution-agnostic. Add note that we need all three of xml, xmlreader and xmlwriter - on many distributions these are a single package to install, but on FreeBSD these are distinct packages (as they indeed are when compiling PHP from source.) Change note about GD needing version 2. Version 2 has been the default version to compile the gd extension against for many years, but saying we need an extension 'gd2' misleads new users to thinking that there is a distinct extension to install. --- install.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.txt b/install.txt index 1a999d258..0fdacf509 100644 --- a/install.txt +++ b/install.txt @@ -27,11 +27,12 @@ Requirements The following requirements should be met prior to using PHPExcel: * PHP version 5.2.0 or higher -* PHP extension php_zip enabled *) -* PHP extension php_xml enabled -* PHP extension php_gd2 enabled (if not compiled in) +* PHP extension 'zip' enabled *) +* PHP extensions 'xml', 'xmlreader', and 'xmlwriter' enabled +* PHP extension 'gd' enabled (if not compiled in) + * Linked against GD version 2 -*) php_zip is only needed by PHPExcel_Reader_Excel2007, PHPExcel_Writer_Excel2007, +*) The 'zip' extension is only needed by PHPExcel_Reader_Excel2007, PHPExcel_Writer_Excel2007, PHPExcel_Reader_OOCalc. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not.