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:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
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

Icon  Name                    Last modified      Size  Description
[<--] Parent Directory - [TXT] slack-desc 2026-11-21 02:07 759 [   ] php-ext-xz.info 2026-11-21 02:07 321 [SPT] php-ext-xz.SlackBuild 2026-11-21 02:07 2.8K [SPT] doinst.sh 2026-11-21 02:07 223 [!!!] README 2026-11-21 02:07 1.0K
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.04 Gbit/s  10 Gbit/s