Since I can't trust myself in backup, it's better to stick to a panel :/Just use without panel.
php --ini
as there's usually a couple variants that aren't in use.yeah, none of them are in there... there is an additional /etc/php.d/20-bz2.ini but that only has 1 extension in itEnabling is usually done via php.ini, and then restart the web server (ngnix/apache)
find your in use php.iniphp --ini
as there's usually a couple variants that aren't in use.
use nano /path/to/php.ini to edit it.
sometimes it's commented out, just need to remove the comment #
other times, you need to add the directive path to the so itself like extension=php_gmp.so
ctrl + x to exit the editor and save the file at the prompt.
restart
if it blows up, put the change back (perhaps even make a file backup with a cp command to make a copy)
not always. don't count on it. look up each one and their install notes.are all of the extensions prepended by php_
example:
extension=php_gmp.so
extension=php_imagick.so
extension=php_intl.so
??
We use essential cookies to make this site work, and optional cookies to enhance your experience.