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
Maintained by: B. Watson
Keywords: php module,php extension
ChangeLog: php-ext-xz
Homepage:
https://github.com/codemasher/php-ext-xz/
Download SlackBuild:
php-ext-xz.tar.gz
php-ext-xz.tar.gz.asc (FAQ)
(the SlackBuild does not include the source)
| Individual Files: |
| README |
| doinst.sh |
| php-ext-xz.SlackBuild |
| php-ext-xz.info |
| slack-desc |
© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of
Patrick Volkerding
Linux® is a registered trademark of
Linus Torvalds