Skip to content
Snippets Groups Projects
Commit a507ff53 authored by Damien Robillard's avatar Damien Robillard
Browse files

Update xhprof and phpunit install

parent 3196f9ee
Branches
Tags
5 merge requests!1553Master,!1502Master,!1501Stable,!1283Master,!1271Corrections de l'install
......@@ -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