PHP extension check on linux

22 November 2021 PHP linux environment install

Php extension check

$ php -m

or

$ -i

or

$ php -r "print_r(get_loaded_extensions());"

Installed package check: Log into your Linux Server via SSH as ‘root’.

$ php --ini