fix: ssdeep is now updated on PECL - installation updated

pull/2962/head
Alexandre Dulaunoy 2018-02-21 10:23:21 +01:00
parent 0ab4b3dcc8
commit eeec662db9
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 7 deletions

View File

@ -315,7 +315,6 @@ sudo pip install redis
# For the experimental ssdeep correlations, run the following installation:
# installing ssdeep
git clone https://github.com/iglocska/php-ssdeep
wget http://downloads.sourceforge.net/project/ssdeep/ssdeep-2.13/ssdeep-2.13.tar.gz
tar zxvf ssdeep-2.13.tar.gz
cd ssdeep-2.13
@ -325,13 +324,9 @@ sudo make install
ssdeep -h # test
#installing ssdeep_php
git clone https://github.com/iglocska/php-ssdeep.git
cd php-ssdeep/
phpize
./configure
make
sudo make install
pecl install ssdeep
# 7.0 if your PHP 7.0 and you know what to do if you have a different version
sudo echo "extension=ssdeep.so" > /etc/php/7.0/mods-available/ssdeep.ini
phpenmod ssdeep
service apache2 restart