| @@ 199-204 (lines=6) @@ | ||
| 196 | } |
|
| 197 | ||
| 198 | // Is MySQL available? |
|
| 199 | if (!function_exists('mysqli_connect')) { |
|
| 200 | $errors[] = array( |
|
| 201 | 'msg' => __('MySQLi extension not present'), |
|
| 202 | 'details' => __('Symphony requires PHP to be configured with MySQLi to work.') |
|
| 203 | ); |
|
| 204 | } |
|
| 205 | ||
| 206 | // Is ZLib available? |
|
| 207 | if (!extension_loaded('zlib')) { |
|
| @@ 232-237 (lines=6) @@ | ||
| 229 | } |
|
| 230 | ||
| 231 | // Is json_encode available? |
|
| 232 | if (!function_exists('json_decode')) { |
|
| 233 | $errors[] = array( |
|
| 234 | 'msg' => __('JSON functionality is not present'), |
|
| 235 | 'details' => __('Symphony uses JSON functionality throughout the backend for translations and the interface.') |
|
| 236 | ); |
|
| 237 | } |
|
| 238 | ||
| 239 | // Cannot write to root folder. |
|
| 240 | if (!is_writable(DOCROOT)) { |
|