Upload: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
|
(No difference)
| |
Latest revision as of 14:34, 5 January 2025
ProBook 6550b
root@ppl:/var/log/apache2# aptitude install sendmail root@ppl:/var/www/html/upload# aptitude install php5-pecl-http php5-dev root@ppl:/var/www/html/upload# pecl install uploadprogress
root@ppl:/var/www/html/upload# vim /etc/php5/apache2/php.ini
- Add line
extension=uploadprogress.so
- Change lines
upload_max_filesize = 520M post_max_size = 520M
- webserver should have write access to uploads dir
root@ppl:/var/www/html/upload# tree . ├── favicon.ico ├── getProgress.php ├── include.php ├── index.php ├── info.php ├── upload.js ├── upload.php ├── uploads └── user.png 1 directory, 8 files