需要本地编译安装phpize
https://www.php.net/distributions/php-7.4.24.tar.bz2https://www.php.net/distributions/php-7.4.24.tar.bz2下载php源代码,编译产生可执行程序。
# ./configure --enable-debug --enable-maintainer-zts --enable-pthreads --prefix=/usr --with-config-file-path=/etc
6 - Install PHP
We will run make clear just to be sure that no other crashed build will mess our new one.
sudo apt install libsqlite3-dev
# make clear
# make -j8
#make test -j8
# make install
error cannot find config.m4