#yum install php-pear php-devel
#pecl install uploadprogress
add new file: uploadprogress.ini file in etc/php.d
and just add this line
extension=uploadprogress.so
#service php-fpm restart
#service nginx restart
#yum install php-pear php-devel
#pecl install uploadprogress
add new file: uploadprogress.ini file in etc/php.d
and just add this line
extension=uploadprogress.so
#service php-fpm restart
#service nginx restart
转载于:https://www.cnblogs.com/Richard-Li/p/4271557.html