There were many changes, such as change to “–enable-gd”, and to eliminate “-dir”. Therefore, let’s checked the official reference, then you do configuration.
chapter167, About latest PHP configure.

There were many changes, such as change to “–enable-gd”, and to eliminate “-dir”. Therefore, let’s checked the official reference, then you do configuration.