Is it possible to define a php.ini file per virtual host. If so, how can
it be done? Thanks.
–
Joshua Parker
http://www.joshparker.us/
Is it possible to define a php.ini file per virtual host. If so, how can
it be done? Thanks.
–
Joshua Parker
http://www.joshparker.us/
Is it possible to define a php.ini file per virtual host. If so, how can it be
done? Thanks.
To actually use different php.ini files you will have to spawn seperate
php processes but you can achieve different settings for
each virtualhost using a single php.ini file:
rr
Thank you very much for this info.
On Wednesday, November 23, 2011, Reinis R. [email protected] wrote:
Is it possible to define a php.ini file per virtual host. If so, how can
it be done? Thanks.To actually use different php.ini files you will have to spawn seperate
php processes but you can achieve different settings for each
virtualhost
using a single php.ini file:
- You can use the [HOST=yourvirtualhost] (
PHP: List of php.ini sections - Manual ) approach and define the
settings directly in php.ini- You can make multiple pools in the FPM configuration (
PHP: Configuration - Manual ) and change the
settings via php_flag / php_admin_value etc directives- You can pass the config changes also from nginx using fastcgi_param
PHP_VALUE …- Can also use the .user.ini approach
PHP: .user.ini files - Manualrr
nginx mailing list
[email protected]
nginx Info Page
–
[image: Josh Parker WordPress Consultant] http://www.joshparker.us/
Joshua Parker
WordPress Consultant
888.255.1798 x701
Consulting Site
www.joshparker.us
[image: Twitter] http://twitter.com/#!/joshmac[image:
Linkedin]http://www.linkedin.com/in/joshmac[image:
Josh Parker :: WordPress Consultant]
http://www.joshparker.us/feed/[image:
Skype][image: Google+] http://gplus.to/joshuaparker[image: WordPress
Profile] http://wordpress.org/extend/plugins/profile/parkerj[image:
About.me] http://about.me/joshuaparker[image:
Gravatar]http://en.gravatar.com/joshmac3
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs