How to enable PHP gd module (solved)

Hi,

I’ve installed the PHP GD library with Pacman :

sudo pacman -S gd php-gd

But when I run the command php -m I don’t see the gd module enabled.

Does someone know the command to enable a PHP module on Endeavouros/Budgie?

Thx

It has been a long time since I used php but last time I did you had to uncomment the extension in php.ini or phprc

Get it in php.ini, thanks @dalto

I thought there was a cmd line to do this …

2 Likes

gd

For php-gd uncomment the line in /etc/php/php.ini:

extension=gd

https://wiki.archlinux.org/index.php/PHP#gd

Edit : Looks like you solved it :+1: