Ticket #1766 (new nice to have)

Opened 3 years ago

Last modified 18 months ago

advanced from php5-fcgi-starter

Reported by: Freeman <spm@…> Owned by:
Priority: major Milestone: ispCP ω 1.2.0
Component: Config Files Version: ispCP ω nightly build
Severity: Medium Keywords:
Cc:

Description

  1. open /etc/ispcp/fcgi/parts/php5-fcgi-starter.tpl
  1. clear all
  1. paste:
#!/bin/sh

umask 022

if test -f "/var/www/virtual/{DMN_NAME}/php.ini"
then
PHPRC="/var/www/virtual/{DMN_NAME}/"
else
PHPRC="{PHP_STARTER_DIR}/{DMN_NAME}/php5/"
fi

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec {PHP5_FASTCGI_BIN}
  1. Save File
  1. Restart Apache (service httpd restart)
  1. All new sites will have possibility to have the php.ini, and with FTP access.

P.S. It is translated from Russian on translate.ru

Change History

comment:1 Changed 3 years ago by BeNe

I do not really understand the improvement here[[BR]] -> to have the php.ini, and with FTP access ?

comment:2 Changed 3 years ago by Freeman <spm@…>

Now clients can through ftp change the php.ini if it at them lies in /var/www/virtual/domain.com/php.ini

P.S. It is translated from Russian on translate.ru

comment:3 Changed 3 years ago by benedikt

  • Version set to ispCP ω 1.0.0 - DEV
  • Milestone changed from Working to ispCP ω 1.1.0

comment:4 Changed 18 months ago by benedikt

  • Milestone changed from ispCP ω 1.x.0 to ispCP ω 1.1.0
Note: See TracTickets for help on using tickets.