Ticket #1766 (new nice to have)
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
- open /etc/ispcp/fcgi/parts/php5-fcgi-starter.tpl
- clear all
- 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}
- Save File
- Restart Apache (service httpd restart)
- 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: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
Note: See
TracTickets for help on using
tickets.



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