diff --git a/HowtoPrestashop.md b/HowtoPrestashop.md index af0c02b..23dd0cc 100644 --- a/HowtoPrestashop.md +++ b/HowtoPrestashop.md @@ -12,8 +12,8 @@ title: Howto PrestaShop * Serveur Apache ou Nginx -* PHP 5.4 ou plus. -* Extensions PHP indispensables : PDO_MySQL, cURL, SimpleXML, mcrypt, GD, OpenSSL, DOM, SOAP, Zip, fileinfo. +* PHP 5.6 ou plus. +* Extensions PHP indispensables : PDO_MySQL, cURL, SimpleXML, mcrypt, GD, OpenSSL, DOM, SOAP, Zip, fileinfo, Intl. * MySQL 5.0 ou plus. @@ -21,9 +21,12 @@ Réglages PHP : ~~~ allow_url_fopen on +allow_url_include = Off register_globals Off -memory_limit >= 128M +memory_limit >= 256M upload_max_filesize >= "16M" +extension = php_mysql.dll +extension = php_gd2.dll ~~~ Réglages Apache : @@ -33,7 +36,6 @@ Réglages Apache : * mod_auth_basic désactivé. * AllowOverride AuthConfig Limit FileInfo Indexes Options - Bonus : * Possibilité d'avoir des cron @@ -44,6 +46,10 @@ Bonus : Télécharger la dernière version _stable_ de PrestaShop par archive ou par dépôt git. +~~~ +git clone https://github.com/PrestaShop/PrestaShop.git +~~~ + Selon la version, peut avoir un problème dans le fichier `config/autoload.php` : commenter la ligne qui gène si optionnel. * Utiliser la ligne de commande pour installer prestashop: @@ -59,7 +65,8 @@ $ php './install-dev/index_cli.php' --language=fr --timezone='localhost' --base_ * S'assurer des droits pour le groupe afin que l'instance du serveur web lancé en tant que www- puisse écrire dans les répertoires. ~~~ -$ chmod -R g+w config/ cache/ log/ img/ mails/ modules/ themes/ translations/ upload/ download/ +$ chmod -R g+w admin-dev/autoupgrade/ app/logs/ app/Resources/translations/ cache/ config/ download/ img/ log/ mails/ modules/ themes/ translations/ var/ upload/ + ~~~ * Après installation :