John Shipp - Senior Level Computer Programmer and Internet Developer

Veteran freelance computer programmer specializing in PHP, MySQL, JavaScript, HTML, CSS, AJAX and other Internet based technologies including popular libraries and frameworks such as jQuery, Laravel, CodeIgniter, WordPress, Magento, Bootstrap and more.

CentOS

How to install uploadprogress on CentOS via command line

February 13, 2012 | by John Shipp | category CentOS
  1. Download progressupload from http://pecl.php.net/package/uploadprogress into a directory on your server using wget… as of this writing, the latest stable release is: http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz  e.g. wget http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
  2. Unpack : tar -zxvf uploadprogress-1.0.3.1.tgz
  3. Change into the unpacked directory: cd uploadprogress-1.0.3.1
  4. phpize
  5. ./configure
  6. make
  7. make install
  8. edit php.ini, add: extension=uploadprogress.so … while you’re in there, you might as well update upload_max_filesize and post_max_size to the largest file you intend to upload too.
  9. restart apache: service httpd restart
  10. Double check using phpinfo()

Don’t forget to set

<video width=”320″ height=”240″ controls=”controls”>
  <source src=”movie.mp4″ type=”video/mp4″ />
  <source src=”movie.ogg” type=”video/ogg” />
  Your browser does not support the video tag.
</video>