equal
deleted
inserted
replaced
79 |
79 |
80 exit(0); |
80 exit(0); |
81 } |
81 } |
82 |
82 |
83 status('doing PHP capabilities check'); |
83 status('doing PHP capabilities check'); |
|
84 |
|
85 if ( version_compare(PHP_VERSION, '5.1.0', '<') ) |
|
86 { |
|
87 burnout('The minimum required version of PHP for Greyhound is 5.1.0. PHP 5.2.x is recommended.'); |
|
88 } |
|
89 |
84 if ( !function_exists('pcntl_signal') ) |
90 if ( !function_exists('pcntl_signal') ) |
85 { |
91 { |
86 warning('System does not support POSIX functions. Termination signals will result in unclean shutdown.'); |
92 warning('System does not support POSIX functions. Termination signals will result in unclean shutdown and multi-process webserving will not work.'); |
|
93 $allow_fork = false; |
87 } |
94 } |
88 |
95 |
89 if ( !function_exists('simplexml_load_file') ) |
96 if ( !function_exists('simplexml_load_file') ) |
90 { |
97 { |
91 warning('Can\'t find support for SimpleXML, which is needed to parse the Amarok playlist file.'); |
98 warning('Can\'t find support for SimpleXML, which is needed to parse the Amarok playlist file.'); |