PHP built in web server + dynamic extension

297 Views Asked by At

I'm using the php built-in server (v 7.3.6).

Everything work perfectly. But when I add gd extension on the php.ini file (by removing the ";") nothing answer.

Commands like :

"php -S localhost:8000" and "php -v"

no longer answer.

Can I add extension on the built-in server ?

Thank you for your time !

1

There are 1 best solutions below

0
On

I found it, finally !

I had to uncomment the line : extension_dir = "ext" Now php can find the extension :)

Thx you !