Update README.md

This commit is contained in:
Daniil Gentili 2017-08-16 16:38:48 +02:00 committed by GitHub
parent 6a9309ae3b
commit e05c8bb25a

View File

@ -5,15 +5,7 @@ PHP extension for factorizing huge (up to 2^63-1) numbers (optimized for huge se
To compile it, simply install https://github.com/CopernicaMarketingSoftware/PHP-CPP and run `make && sudo make install` in this directory.
```
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP
cd PHP-CPP
make -j$(nproc)
sudo make install
cd ..
git clone https://github.com/danog/PrimeModule-ext
cd PrimeModule-ext
make -j$(nproc)
sudo make install
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP && cd PHP-CPP && make -j$(nproc) && sudo make install && cd .. && git clone https://github.com/danog/PrimeModule-ext && cd PrimeModule-ext && make -j$(nproc) && sudo make install
```
API: