where i can edit php.ini settings for phpcgi template
-
- Posts: 2
- Joined: Tue Sep 22, 2015 4:22 pm
where i can edit php.ini settings for phpcgi template
Web Template i choose phpcgi and there is no php.ini file loading there is anyway to override the default values? i want to run on cgi .. why you made like this? there is no php.ini files for this ..
Re: where i can edit php.ini settings for phpcgi template
Edit your /home/user/web/domain.ru/cgi-bin/php and paste something like this
And new settings make in /etc/php5/cgi/php.ini
Code: Select all
#!/usr/bin/php-cgi -c/etc/php5/cgi/php.ini
-
- Posts: 2
- Joined: Tue Sep 22, 2015 4:22 pm
Re: where i can edit php.ini settings for phpcgi template
how do i globally apply this settings ?
Re: where i can edit php.ini settings for phpcgi template
Make change in /usr/local/vesta/data/templates/web/apache2/phpcgi.shdonsreeraj wrote:how do i globally apply this settings ?
Old set
Code: Select all
wrapper_script='#!/usr/bin/php-cgi -cphp5-cgi.ini'
Code: Select all
wrapper_script='#!/usr/bin/php-cgi -c/etc/php5/cgi/php.ini'