https://github.com/arnaud-lb/php-throttle
php module for throttling file upload speed
https://github.com/arnaud-lb/php-throttle
Last synced: 4 months ago
JSON representation
php module for throttling file upload speed
- Host: GitHub
- URL: https://github.com/arnaud-lb/php-throttle
- Owner: arnaud-lb
- Created: 2011-06-25T10:22:05.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-25T12:00:47.000Z (almost 14 years ago)
- Last Synced: 2025-01-10T19:23:22.373Z (5 months ago)
- Language: C
- Homepage:
- Size: 93.8 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# php throttle module
This module allows to throttle file upload speed, for debugging / testing purposes.
## Install
``` sh
phpize
./configure
make
make install
```## Ini settings
``` ini
; load throttle module
extension=throttle.so
; speed limit, in bytes
throttle.speed=10240
; log debug infos
throttle.debug=0
```Both settings are per-dir and can be overriden on a per-directory basis; for example in an Apache's .htaccess:
```
php_value throttle.speed 2048
```