Current time: 05-06-2024, 09:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
Per-domain properties (php version, variables etc)
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Per-domain properties (php version, variables etc)
ispcomm, you may exploit the fact that the last declaration of the same key in php.ini is what php will use. Given this, you may:

-) Add a "domain_hosting_props" table (domain_id, scope, key, value) so ie the "register_globals" setting would end up here as (XX, 'php', 'register_globals', 'On').
-) Modify the engine to add all the defined 'php' domain props at the end of the generated php.ini (simply appending them would work)
-) Modify the GUI so admins (maybe resellers) can set up any php configuration key
-) Allow the user to change some keys, like 'display_errors' or 'register_globals' maybe.
06-29-2008 06:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Per-domain properties (php version, variables etc) - kilburn - 06-29-2008 06:12 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)