Thanks for the suggestion.
buildphp_manual_run.sh is intended for all distributions, not just for debian/ubuntu . there could be other missing packages in order to compile from source.
It is hard for us to cover everything, when different PHP module enabled, there might be different missing packages.
It still requires people tries to compile from source has experiences with that and fix all missing packages.
Have you tried our pre-compiled PHP binary from our repo? Or, you have to compile from source yourself?
Best regards,