]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - check_setup.php
4 if (version_compare(PHP_VERSION
, '5.3.3', '<')) {
5 die('This software require PHP 5.3.3 minimum');
8 // Short tags must be enabled for PHP < 5.4
9 if (version_compare(PHP_VERSION
, '5.4.0', '<')) {
11 if (! ini_get('short_open_tag')) {
12 die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"');
17 if (! extension_loaded('pdo_sqlite')) {
18 die('PHP extension required: pdo_sqlite');
22 if (! extension_loaded('zip')) {
23 die('PHP extension required: zip');
26 // Check if /cache is writeable
27 if (! is_writable('cache')) {
28 die('The directory "cache" must be writeable by your web server user');
31 // Check if /db is writeable
32 if (! is_writable('db')) {
33 die('The directory "db" must be writeable by your web server user');
36 // install folder still present, need to install wallabag
37 if (is_dir('install')) {
38 require('install/index.php');