1.Download the extension package, extract it, and enter its directory.
2.Findphpizedirectory, then run/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
4.--with-php-config=/usr/local/php/bin/php-configspecifies the installation path here.
5.If you do not know thephpizedirectory, runwhereis phpizeorfind / -name phpize
By Pitfalls Over the Years
Mengyao Qiyuan