Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6445

Ubuntu PHP Cli extensions are not enabled even after editing php.ini [closed]

$
0
0

I want to install below extension in php cli ubuntu 20.04.06

ext-mbstringext-simplexmlext-xmlext-xmlwriterext-xmlreaderext-zipext-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

enter image description here

when i run composer require phpoffice/phpspreadsheet this command I get still the errors

I tried below command to install the extension in a path /etc/php/8.1/cli/conf.d/But it was not installed that path. I got a message like

php-mbstring is already the newest version (2:7.4+75).
sudo apt-get install php-mbstring

enter image description here


Viewing all articles
Browse latest Browse all 6445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>