Fix Error PHP Extensions dom, gd, simplexml, xml Drupal

Fix Error PHP Extensions dom, gd, simplexml, xml Drupal

When I install drupal 10 on ubuntu, I have some error like above, to solve the problem, I just install the extension. For your information, I use php-fpm, but if you sure on your system already the extension just edit on your php.ini and activate it. 
On your php.ini, just remove semi colon ;

extension=dom 
extension=gd 
extension=simplexml 
extension=xml


But in this case I must install extension from my ubuntu terminal

sudo apt-get install php8.1-xml php8.1-gd
sudo systemctl restart php8.1-fpm


If you also have problem on mbstring extension, open terminal and install mbstring

sudo apt-get install php8.1-mbstring


if you don't use multi php with php-fpm, just install without having to mention the php version. For example

sudo apt-get install php-xml php-gd

0 Response to "Fix Error PHP Extensions dom, gd, simplexml, xml Drupal"

Post a Comment

Komentar yang Anda kirim akan terlebih dahulu di moderasi oleh Admin