Jump to content

php.ini settings for multiple sites?


nothing500

Recommended Posts

I'd like to prepend different config files for different sites on the same server. I can set the "auto_prepend_file" setting, but that will affect all php on the server. The best idea I've got is to prepend a "master" config file, which will include the correct config file using a switch statement that reads the URL that was navigated to.

 

Is there a formal way to do this? If so, how?

Link to comment
https://forums.phpfreaks.com/topic/159145-phpini-settings-for-multiple-sites/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.