This entry was posted on Friday, April 20th, 2007 at 7:44 pm and is filed under PHP. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
php-developers.net
php and mysql web development services
Setting up Windows/Linux environment for file upload progress meter
Windows
Prerequisites :
PHP 5.2
Step 1 :
Download the progress upload extension from the PECL respository http://pecl4win.php.net/ext.php/php_uploadprogress.dll
Step 2 :
Copy php_uploadprogress.dll to the extension directory
Step 3 :
Add to php.ini
extension=php_uploadprogress.dll
Step 4 :
Add to php.ini
[uploadprogress]
uploadprogress.file.filename_template=”\path\to\tmp\sometext_%s.txt”
Step 5 :
Do not forget to restart your web server
Linux
Prerequisites :
PHP 5.2
Step 1 :
Download the uploadprogress extension from PECL: http://pecl.php.net/package/uploadprogress
Step 2 :
Enter in the directory you downloaded the extension to and run these commands as root:
phpize
./configure –enable-uploadprogress
make
make install
Step 3 :
Add this to php.ini:
extension=uploadprogress.so
Step 4 :
Restart your web server