Jordan Savant # Software Engineer

FANN Install for PHP in Ubuntu

FANN, Fast Artificial Neural Network is written in C. Other languages can wrap its operating system installation. This is how I installed it for PHP (Feb 2018).

sudo apt-get update
sudo apt-get install libfann-dev
sudo apt-get install php-dev
git clone --recursive
cd php-fann
./configure --with-fann
sudo make install

Then edit the php ini file and add the extenion: