| @@ 182-187 (lines=6) @@ | ||
| 179 | } |
|
| 180 | ||
| 181 | // Is MySQL available? |
|
| 182 | if (!function_exists('mysqli_connect')) { |
|
| 183 | $errors[] = array( |
|
| 184 | 'msg' => __('MySQLi extension not present'), |
|
| 185 | 'details' => __('Symphony requires PHP to be configured with MySQLi to work.') |
|
| 186 | ); |
|
| 187 | } |
|
| 188 | ||
| 189 | // Is ZLib available? |
|
| 190 | if (!extension_loaded('zlib')) { |
|
| @@ 214-219 (lines=6) @@ | ||
| 211 | } |
|
| 212 | ||
| 213 | // Is json_encode available? |
|
| 214 | if (!function_exists('json_decode')) { |
|
| 215 | $errors[] = array( |
|
| 216 | 'msg' => __('JSON functionality is not present'), |
|
| 217 | 'details' => __('Symphony uses JSON functionality throughout the backend for translations and the interface.') |
|
| 218 | ); |
|
| 219 | } |
|
| 220 | ||
| 221 | // Cannot write to root folder. |
|
| 222 | if (!is_writable(DOCROOT)) { |
|