Browse Source

Merge pull request #8673 from MikePetullo/php7

php7: facilitate running php7-fastcgi without listening on TCP socket
lilik-openwrt-22.03
Michael Heimpold 5 years ago
committed by GitHub
parent
commit
306f06f11d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/php7/files/php7-fastcgi.init

+ 2
- 2
lang/php7/files/php7-fastcgi.init View File

@ -11,12 +11,12 @@ start_instance() {
local port
config_get_bool enabled "$section" 'enabled' 0
config_get port "$section" 'port' 1026
config_get port "$section" 'port'
[ $enabled -gt 0 ] || return 1
PHP_FCGI_CHILDREN='' \
service_start /usr/bin/php-fcgi -b $port
service_start /usr/bin/php-fcgi ${port:+-b $port}
}
start() {


Loading…
Cancel
Save