Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
All
donations will be gratefully received - thank you!
Toggle theme:
Content of directory's README
php-ext-xz (XZ compression support for PHP)
php-ext-xz is a PHP extension providing XZ (LZMA2) compression and
decompression functions.
By default, the xz extension is enabled in "/etc/php.d/xz.ini". If you
want to disable it without removing this package, you can comment out
the "extension=xz" line. If you do this, reinstalling the package will
not re-enable the extension (your xz.ini is preserved).
To check whether the extension is loaded, you can run this from the
shell:
$ php -r 'var_dump(extension_loaded("xz"));'
...if you see "bool(true)", it's loaded.
If you intend to permanently remove php-ext-xz, you should delete
its config file afterwards:
# removepkg php-ext-xz
# rm -f /etc/php.d/xz.ini
If you use PHP with Apache's mod_php, you'll have to restart Apache
after installing this, for PHP scripts to see the extension. E.g.:
# /etc/rc.d/rc.httpd restart
The same is true of PHP FastCGI (FPM), if you use it:
# /etc/rc.d/rc.php-fpm restart
Server (facade0) bandwidth utilisation
0

10 Gbit/s