On Linux server:
# cd /usr/local/src/
get the latest version http://pecl.php.net/package/uploadprogress
# tar xvfz uploadprogress-VERSION.tgz
# cd uploadprogress-VERSION
# export PHP_PREFIX="/usr/local"
# $PHP_PREFIX/bin/phpize
# ./configure
# make
# make install- open your php.ini
e.g.
# vi /usr/local/lib/php.ini
add the line you received followed by "uploadprogress.so":
; PECL uploadprogress
extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"
extension=uploadprogress.so # service httpd restart
No comments:
Post a Comment