- wget https://pecl.php.net/get/uploadprogress-2.0.2.tgz
- tar xvf uploadprogress-2.0.2.tgz
- cd uploadprogress-2.0.2
- /www/server/php/74/bin/phpize
- ./configure --with-php-config=/www/server/php/74/bin/php-config
- make
- make install
- echo "extensions=/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/uploadprogress.so" >> /www/server/php/74/etc/php.ini
- /etc/init.d/php-fpm-74 restart
复制代码
这是方法 |