Definition at line 6 of file oxsysrequirements.php.
Public Member Functions | |
getRequiredModules () | |
checkMbString () | |
checkModRewrite () | |
checkAllowUrlFopen () | |
checkPhp4Compat () | |
checkPhpVersion () | |
checkRequestUri () | |
checkLibXml2 () | |
checkPhpXml () | |
checkJSon () | |
checkIConv () | |
checkTokenizer () | |
checkBcMath () | |
checkMysqlConnect () | |
checkGdInfo () | |
checkIniSet () | |
checkRegisterGlobals () | |
checkMemoryLimit () | |
checkZendOptimizer () | |
checkZendPlatform () | |
checkCollation () | |
checkDatabaseCluster () | |
checkUnicodeSupport () | |
getSysReqStatus () | |
getSystemInfo () | |
getModuleInfo ($sModule=null) | |
Protected Member Functions | |
_getAdditionalCheck () | |
_getBytes ($sBytes) | |
Protected Attributes | |
$_aRequiredModules = null | |
$_blSysReqStatus = null | |
$_aException | |
$_aColumns |
oxSysRequirements.getRequiredModules | ( | ) |
oxSysRequirements.checkMbString | ( | ) |
Checks if mbstring extension is loaded
Definition at line 131 of file oxsysrequirements.php.
oxSysRequirements.checkModRewrite | ( | ) |
Checks if mod_rewrite extension is loaded
Definition at line 141 of file oxsysrequirements.php.
oxSysRequirements.checkAllowUrlFopen | ( | ) |
Checks if activated allow_url_fopen or fsockopen on port 80 possible
Definition at line 180 of file oxsysrequirements.php.
oxSysRequirements.checkPhp4Compat | ( | ) |
PHP4 compatibility mode must be set off: zend.ze1_compatibility_mode = Off
Definition at line 202 of file oxsysrequirements.php.
oxSysRequirements.checkPhpVersion | ( | ) |
Checks PHP version. PHP 5.2.0 or higher. Due to performance matters, PHP 5.2.6 recommended.
Definition at line 214 of file oxsysrequirements.php.
oxSysRequirements.checkRequestUri | ( | ) |
Checks if apache server variables REQUEST_URI or SCRIPT_URI are set
Definition at line 226 of file oxsysrequirements.php.
oxSysRequirements.checkLibXml2 | ( | ) |
Checks if libxml2 is activated
Definition at line 236 of file oxsysrequirements.php.
oxSysRequirements.checkPhpXml | ( | ) |
Checks if php-xml is activated ???
Definition at line 246 of file oxsysrequirements.php.
oxSysRequirements.checkJSon | ( | ) |
Checks if JSON extension is loaded
Definition at line 256 of file oxsysrequirements.php.
oxSysRequirements.checkIConv | ( | ) |
Checks if iconv extension is loaded
Definition at line 266 of file oxsysrequirements.php.
oxSysRequirements.checkTokenizer | ( | ) |
Checks if tokenizer extension is loaded
Definition at line 276 of file oxsysrequirements.php.
oxSysRequirements.checkBcMath | ( | ) |
Checks if bcmath extension is loaded
Definition at line 286 of file oxsysrequirements.php.
oxSysRequirements.checkMysqlConnect | ( | ) |
Checks if mysql5 extension is loaded.
Definition at line 296 of file oxsysrequirements.php.
oxSysRequirements.checkGdInfo | ( | ) |
Checks if GDlib extension is loaded
Definition at line 317 of file oxsysrequirements.php.
oxSysRequirements.checkIniSet | ( | ) |
oxSysRequirements.checkRegisterGlobals | ( | ) |
Checks if register_globals are off/on. Should be off.
Definition at line 340 of file oxsysrequirements.php.
oxSysRequirements.checkMemoryLimit | ( | ) |
oxSysRequirements.checkZendOptimizer | ( | ) |
Checks if Zend Optimizer extension is loaded
Definition at line 374 of file oxsysrequirements.php.
oxSysRequirements.checkZendPlatform | ( | ) |
Checks if ZEND Platform Version 3.5 is installed
Definition at line 384 of file oxsysrequirements.php.
oxSysRequirements._getAdditionalCheck | ( | ) | [protected] |
Additional sql: do not check collation for oxsysrequirements::$_aException columns
Definition at line 394 of file oxsysrequirements.php.
oxSysRequirements.checkCollation | ( | ) |
Checks tables and columns (oxsysrequirements::$_aColumns) collation
Definition at line 408 of file oxsysrequirements.php.
oxSysRequirements.checkDatabaseCluster | ( | ) |
Checks if database cluster is installed
Definition at line 444 of file oxsysrequirements.php.
oxSysRequirements.checkUnicodeSupport | ( | ) |
Checks if PCRE unicode support is turned off/on. Should be on.
Definition at line 454 of file oxsysrequirements.php.
oxSysRequirements.getSysReqStatus | ( | ) |
Checks system requirements status
Definition at line 464 of file oxsysrequirements.php.
oxSysRequirements.getSystemInfo | ( | ) |
Runs through modules array and checks if current system fits requirements. Returns array with module info: array( $sGroup, $sModuleName, $sModuleState ): $sGroup - group of module $sModuleName - name of checked module $sModuleState - module state: -1 - unable to datect, should not block 0 - missing, blocks setup 1 - fits min requirements 2 - exists required or better
Definition at line 487 of file oxsysrequirements.php.
oxSysRequirements.getModuleInfo | ( | $ | sModule = null |
) |
Returns passed module state
string | $sModule module name to check |
Definition at line 510 of file oxsysrequirements.php.
oxSysRequirements._getBytes | ( | $ | sBytes | ) | [protected] |
Parses and calculates given string form byte syze value
string | $sBytes string form byte value (64M, 32K etc) |
Definition at line 583 of file oxsysrequirements.php.
oxSysRequirements.$_aRequiredModules = null [protected] |
Definition at line 13 of file oxsysrequirements.php.
oxSysRequirements.$_blSysReqStatus = null [protected] |
Definition at line 20 of file oxsysrequirements.php.
oxSysRequirements.$_aException [protected] |
Initial value:
array( 'OXDELIVERY' => 'OXDELTYPE', 'OXSELECTLIST' => 'OXIDENT')
Definition at line 27 of file oxsysrequirements.php.
oxSysRequirements.$_aColumns [protected] |
Definition at line 35 of file oxsysrequirements.php.