Is UWSGI extension based on the default PHP extension for UWSGI, but with reduced overhead.
- PHP Lite also fixes the existing php cache, witch at the point of creating php_lite
was inoperable.
- Opcache preload is for loading files into the opcache, before a fork from a
fork-server takes place.
| Directive | Description | example |
|---|---|---|
| php-opcache-preload | Load files in list and replace path | /opt/phpfiles.txt /opt/ /phpfiles/ |
| php-ini or php-config | Set php.ini path | /etc/php.ini |
| php-ini-append or php-config-append | Set php.ini path (append mode) | /etc/php.ini |
| php-set | Set a php config directive | extension my-extension |
| php-index | List the php index files | |
| php-docroot | Force php DOCUMENT_ROOT | /srv/php |
| php-allowed-script | List the allowed php scripts (require absolute path) | |
| php-server-software | Force php SERVER_SOFTWARE | |
| php-app | Force the php file to run at each request" | |
| php-app-qs | When in app mode force QUERY_STRING to the specified value + REQUEST_URI | |
| php-app-bypass | If the regexp matches the uri the --php-app is bypassed | |
| php-dump-config | Dump php config (if modified via --php-set or append options) | |
| php-sapi-name | Hack the sapi name (required for enabling zend opcode cache) | apache |
| early-php | Initialize an early perl interpreter shared by all loaders | |
| early-php-sapi-name | Hack the sapi name (required for enabling zend opcode cache) | |
| php-startup-script | Run script at startup |