HOW FIX? Tiki 4 Error 500; PHP crashed on opline 17 of set_include_path()
Ladies and Gentlemen,
How do I fix the following:
Below is Error Log entry:
Tue Nov 24 01:43:42 2009 error client 4.245.79.197 File does not exist: /home/currents/public_html/500.shtml
10539 EACCELERATOR: PHP crashed on opline 17 of set_include_path() at /home/currents/public_html/tw/lib/init/initlib.php:70
Tue Nov 24 01:43:40 2009 notice mod_fcgid: call /home/currents/public_html/tw/index.php with wrapper /usr/local/cpanel/cgi-sys/php5
Below are lines 17 through 90 of /home/currents/public_html/tw/lib/init/initlib.php:70
*/
function os() {
static $os;
if (!isset($os)) {
if substr(PHP_OS, 0, 3 == 'WIN') {
$os = 'windows';
} else {
$os = 'unix';
}
}
return $os;
}
/** Return true if windows, otherwise false
- \static
- /
static function isWindows() {
static $windows;
if (!isset($windows)) {
$windows = strtoupperPHP_OS, 0, 3 == 'WIN';
}
return $windows;
}
/** Return ';' if windows otherwise ':'
- \static
- /
static function pathSeparator() {
static $separator;
if (!isset($separator)) {
if substr(PHP_OS, 0, 3 == 'WIN') {
$separator = ';';
} else {
$separator = ':';
}
}
return $separator;
}
/** Prepend $path to the include path
- \static
- /
static function prependIncludePath($path) {
$include_path = ini_get('include_path');
if ($include_path) {
$include_path = $path . TikiInit::pathSeparator(). $include_path;
} else {
$include_path = $path;
}
if (phpversion() >= '4.3')
return set_include_path ($include_path);
else
return ini_set('include_path', $include_path);
}
/** Append $path to the include path
- \static
- /
static function appendIncludePath($path) {
$include_path = ini_get('include_path');
if ($include_path) {
$include_path .= TikiInit::pathSeparator(). $path;
} else {
$include_path = $path;
}
if (phpversion() >= '4.3')
return set_include_path ($include_path);
else
return ini_set('include_path', $include_path);
}