X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Fen%2Fuser%2Finstallation.rst;h=78038322b0dccdde47f5ccdc595aba3317c22674;hb=18bb5a90d5ac4e0facd1db671a1bf4f573c1ae65;hp=99dc0a7672110a78a524a9bdb291349456467daa;hpb=6aed6d69a5cc0cc143e485c5fefaaa91f4a23e07;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 99dc0a76..78038322 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst @@ -4,9 +4,9 @@ Install wallabag Requirements ------------ -wallabag is compatible with php >= 5.5 +wallabag is compatible with PHP >= 5.5, including PHP 7. -You'll need the following extensions for wallabag to work. Some of these may already activated in your version of php, so you may not have to install all corresponding packages. +You'll need the following extensions for wallabag to work. Some of these may already activated in your version of PHP, so you may not have to install all corresponding packages. - php-session - php-ctype @@ -25,9 +25,9 @@ You'll need the following extensions for wallabag to work. Some of these may alr wallabag uses PDO to connect to database, so you'll need one of: -- php-pdo_mysql -- php-pdo_sqlite -- php-pdo_pgsql +- pdo_mysql +- pdo_sqlite +- pdo_pgsql and it's corresponding database server. @@ -42,7 +42,7 @@ Install Composer: curl -s http://getcomposer.org/installer | php -You can find specific instructions here : __ https://getcomposer.org/doc/00-intro.md +You can find specific instructions `here `__: To install wallabag itself, you must run these two commands: @@ -50,7 +50,7 @@ To install wallabag itself, you must run these two commands: git clone https://github.com/wallabag/wallabag.git cd wallabag - git checkout 2.0.0-beta.2 + git checkout 2.0.2 SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist php bin/console wallabag:install --env=prod @@ -62,6 +62,10 @@ To start php's build-in server and test if everything did install correctly, you And access wallabag at http://yourserverip:8000 +.. note:: + + To define parameters with environment variables, you have to set these variables with ``SYMFONY__`` prefix. For example, ``SYMFONY__DATABASE_DRIVER``. You can have a look to the `Symfony documentation `__. + Installing on Apache -------------------- @@ -146,3 +150,7 @@ Assuming you install wallabag in the /var/www/wallabag folder, here's the recipe } After reloading or restarting nginx, you should now be able to access wallabag at http://domain.tld. + +.. note:: + + When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``.