From ef8333a625e9744a7f4cb1c0f013f75241ee2963 Mon Sep 17 00:00:00 2001 From: sharvey Date: Wed, 29 Sep 2010 07:29:20 +0000 Subject: [PATCH] BUGFIX Installer now checks for session_start() and hash() support git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@111369 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.php b/install.php index 69692af..eb924b5 100644 --- a/install.php +++ b/install.php @@ -362,9 +362,15 @@ class InstallRequirements { // Check for token_get_all $this->requireFunction('token_get_all', array("PHP Configuration", "PHP Tokenizer", "PHP tokenizer support not included in PHP.")); + // Check for session support + $this->requireFunction('session_start', array('PHP Configuration', 'Session support', 'Session support not included in PHP.')); + // Check for iconv support $this->requireFunction('iconv', array('PHP Configuration', 'iconv support', 'iconv support not included in PHP.')); + // Check for hash support + $this->requireFunction('hash', array('PHP Configuration', 'hash support', 'hash support not included in PHP.')); + // Check memory allocation $this->requireMemory(32*1024*1024, 64*1024*1024, array("PHP Configuration", "Memory allocated (PHP config option 'memory_limit')", "SilverStripe needs a minimum of 32M allocated to PHP, but recommends 64M.", ini_get("memory_limit")));