| @@ 176-181 (lines=6) @@ | ||
| 173 | } |
|
| 174 | ||
| 175 | // Is MySQL available? |
|
| 176 | if (!function_exists('mysqli_connect')) { |
|
| 177 | $errors[] = array( |
|
| 178 | 'msg' => __('MySQLi extension not present'), |
|
| 179 | 'details' => __('Symphony requires PHP to be configured with MySQLi to work.') |
|
| 180 | ); |
|
| 181 | } |
|
| 182 | ||
| 183 | // Is ZLib available? |
|
| 184 | if (!extension_loaded('zlib')) { |
|
| @@ 208-213 (lines=6) @@ | ||
| 205 | } |
|
| 206 | ||
| 207 | // Is json_encode available? |
|
| 208 | if (!function_exists('json_decode')) { |
|
| 209 | $errors[] = array( |
|
| 210 | 'msg' => __('JSON functionality is not present'), |
|
| 211 | 'details' => __('Symphony uses JSON functionality throughout the backend for translations and the interface.') |
|
| 212 | ); |
|
| 213 | } |
|
| 214 | ||
| 215 | // Cannot write to root folder. |
|
| 216 | if (!is_writable(DOCROOT)) { |
|