From fc0acce5d6fed7591312d2dc0b9eabbc817ea881 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Sat, 22 Oct 2016 11:53:30 +0200 Subject: [PATCH] init --- PracticeSymfony.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 PracticeSymfony.md diff --git a/PracticeSymfony.md b/PracticeSymfony.md new file mode 100644 index 00000000..78c11340 --- /dev/null +++ b/PracticeSymfony.md @@ -0,0 +1,32 @@ +# Practice Symfony + + + +## Prérequis + +### Apache + +Symfony contient des fichiers `.htaccess` avec des directives DirectoryIndex, Options -MultiViews, Rewrite*, Deny. + +La configuration Apache du VirtualHost doit donc contenir au minimum : + +~~~{.apache} +AllowOverride Limit FileInfo Indexes Options=All,MultiViews +~~~ + +### PHP + + + +Le paquet **php5-json** doit être installé. + +Il faut indiquer le paramètre `date.timezone = "Europe/Paris"` dans les fichiers de configuration PHP : + +- `/etc/php5/apache2/php.ini` +- `/etc/php5/cli/php.ini` + +Pour tester la configuration PHP, des tests peuvent être lancés ainsi : + +~~~{.bash} +$ php bin/symfony_requirements +~~~ \ No newline at end of file