An open API service indexing awesome lists of open source software.

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

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
```