Welcome, Guest
Please Login or Register.
Lost Password?
Inherit from /etc/php.ini (1 viewing)
Post Reply

TOPIC: Inherit from /etc/php.ini

#15856
fatbear (User)
Posts: 31
graphgraph
Inherit from /etc/php.ini 2008/08/24 09:44  
Each user seems to have their own php.ini. It appears that the system /etc/php.ini is ignored. Is this right?

I've added eaccelerator, ioncube, and zend optimizer to my server. I've also updated the php include_path in the /etc/php.ini to reference the directory into which I'm providing extra php classes that my customers can use. It would be nice if I didn't have to update each user's php.ini files when I make an /etc/php.ini change.

Can there be some inheritance of the /etc/php.ini as default values for the system. This way, if I need to make a system change, it can immediately be available to all users.

Thanks!
Steve Amerige | www.fatbear.com
  The administrator has disabled public write access.
#15857
ronald (User)
Posts: 505
graphgraph
Re:Inherit from /etc/php.ini 2008/08/24 09:52  
running in mod_php there is 1 php.ini
running in mod_fcgid each domain has its own php.ini

you can update all php.ini's by running commands with a tool like sed.
there is some documentation on it

http://www.virtualmin.com/documentation/id,php_and_virtualmin/
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.