If you want to add any extra modules to php, they’ll most likely need to be compiled in. Any module that needs to be compiled in will have a —with-module type flag which will need to be used. To add this flag, run the following: