Skip to content

webcore-no/uwsgi-php-lite

Repository files navigation

PHP Lite

Is UWSGI extension based on the default PHP extension for UWSGI, but with reduced overhead.

Features

  • 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.

Directives

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  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published