Additional PHP Modules

qtwrk

Well-Known Member
#2
Hi,

If you are using our WP OLS image, SOAP is already there by default.

If you need other packages , please follow this way

taking timezonedb + php7.3 as example :


Code:
wget https://pecl.php.net/get/timezonedb-2019.1.tgz
tar xzvf timezonedb-2019.1.tgz
cd timezonedb-2019.1
apt install lsphp73-dev
/usr/local/lsws/lsphp73/bin/phpize7.3
./configure --with-php-config=/usr/local/lsws/lsphp73/bin/php-config7.3
make
make install
echo "extension=timezonedb.so" >> /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/20-timezone.ini
/usr/local/lsws/bin/lswsctrl restart
Best regards,
 
Last edited:
Top