Skip to content
Snippets Groups Projects
Commit a1a7ee68 authored by efalcy's avatar efalcy
Browse files

Merge branch 'master' into 'master'

Corrections de l'install

Ajout de xhprof dans l'install sur Debian et son paramétrage.
Petite correction pour l'install de phpunit

See merge request !1271
parents 3196f9ee a507ff53
Branches
Tags
4 merge requests!1553Master,!1502Master,!1501Stable,!1283Master
......@@ -10,9 +10,9 @@ apt-get install python-software-properties php5 php5-gd php5-imagick php5-xdebug
## Debian Wheezy-Jessie
```
apt-get install php5 php5-gd php5-imagick php5-xdebug php-pear php5-mysql graphviz apache2 mysql-server libapache2-mod-php5 git php5-mcrypt php5-curl yaz
```
apt-get install php5 php5-gd php5-imagick php5-xdebug php-pear php5-mysql graphviz apache2 mysql-server libapache2-mod-php5 git php5-mcrypt php5-curl yaz php5-xhprof
```
## ArchLinux
```
yaourt -S php php-gd php-imagick xdebug php-pear apache mariadb php-apache php-xhprof graphviz git php-mcrypt binutils automake autoconf gcc make fakeroot
......@@ -28,11 +28,12 @@ Il est nécessaire de compiler Imagick extension à partir des sources.
# Installer PHPUnit (en compte root / sudo):
Rechercher le numéro de la dernière version *phpunit-x.x.x.phar* sur [https://phar.phpunit.de](https://phar.phpunit.de)
```
cd /usr/local/bin
wget https://phar.phpunit.de/phpunit.phar
mv phpunit.phar phpunit
wget https://phar.phpunit.de/phpunit-x.x.x.phar
mv phpunit-x.x.x.phar phpunit
```
# Récupération des sources
......@@ -82,6 +83,8 @@ Dans /etc/php5/apache2/php.ini (ArchLinux: /etc/php/php.ini), configurer les var
post_max_size = 10M
upload_max_filesize = 10M
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
extension = xhprof.so
xhprof.output_dir = /chemin/vers/bokeh/temp
```
Activez les extensions suivantes si elles ne le sont pas déjà (elles devraient l'être) :
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment