FreeBSD Pecl

factor

Verified User
Joined
Jul 22, 2017
Messages
3,687
Location
USA
All:
I needed to install a PECL today. I have always used @zEitEr great script from here https://help.poralix.com/articles/install-pecl-extension-for-php-directadmin-server

I noticed it wouldn't run on FreeBSD. So I discovered why and added in the needed changes. I sent these via pull request in github so Alex can add them if he likes. Until then feel free to use mine. All credit to Alex.

To use my amended version do:

Code:
cd /usr/local/directadmin/scripts/custom
wget https://github.com/bdacus01/directadmin-utils/raw/master/php/php-extension.sh -O php-extension.sh
chmod 750 php-extension.sh
./php-extension.sh

Please let me know if it does not work for you.
 
Back
Top