/** * */ private function phpFunctionsCheck() { $success = true; $isPHP5 = CampInstallationViewHelper::CheckPHPVersion(); $success = ($isPHP5 == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'PHP >= 5.2', 'exists' => $isPHP5 ); $hasMySQL = CampInstallationViewHelper::CheckPHPMySQL(); $success = ($hasMySQL == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'MySQL Support', 'exists' => $hasMySQL ); $execEnabled = CampInstallationViewHelper::CheckExec(); $success = ($execEnabled == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'Exec() function enabled', 'exists' => $execEnabled ); $systemEnabled = CampInstallationViewHelper::CheckSystem(); $success = ($systemEnabled == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'System() function enabled', 'exists' => $systemEnabled ); $hasGD = CampInstallationViewHelper::CheckPHPGD(); $success = ($hasGD == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'GD Image Functions Support', 'exists' => $hasGD ); $hasSession = CampInstallationViewHelper::CheckPHPSession(); $success = ($hasSession == 'Yes') ? $success : false; $phpFunctions[] = array( 'tag' => 'Session Handling Support', 'exists' => $hasSession ); $hasRewriteModule = CampInstallationViewHelper::CheckRewriteModule(); $success = ($hasRewriteModule == 'Yes' || $hasRewriteModule == 'Cannot be checked') ? $success : false; $phpFunctions[] = array( 'tag' => 'Rewrite Module', 'exists' => $hasRewriteModule ); $this->m_lists['phpFunctions'] = $phpFunctions; return $success; } // fn phpFunctionsCheck