I want to install below extension in php cli ubuntu 20.04.06
ext-mbstring
ext-simplexml
ext-xml
ext-xmlwriter
ext-xmlreader
ext-zip
ext-gd
my php cli version is PHP 8.1.6
.
php.ini is present in path /etc/php/8.1/cli/php.ini
In the image I have enabled mbstring and gd. It is not reflected when I check php -m
when i run composer require phpoffice/phpspreadsheet
this command I get still the errors