Local php.ini for each account

Yesterday I figured out how too add local php.ini files to change settings localy in a siteworx account. And I figured someone here might find it usefull.

This have only been tested on a suPHP setup.
If you start with cd in to /etc/httpd/conf.d/ and check one of the vhost_ files. Check for the following line:

suPHP_ConfigPath /home/user/etc/ 

If it’s present, all a user needs to do is to create a folder at the root of their account with the name ‘etc’ and place the file inside that.

Over and out.

Very nice. Thanks for the tip.

Hi,
Any idea how to setup this in beta v 6.x

Hi bblori

Please see Michael post and kudos to justec and Michael for multiPHP

Many thanks

John

Setup and use MultiPHP, including ioncube

https://r.tapatalk.com/shareLink?share_fid=64132&share_tid=8653&share_pid=29900&url=http%3A%2F%2Fforums.interworx.com%2Fshowpost.php%3Fp%3D29900&share_type=thttps://r.tapatalk.com/shareLink?share_fid=64132&share_tid=8653&share_pid=29900&url=http%3A%2F%2Fforums.interworx.com%2Fshowpost.php%3Fp%3D29900&share_type=t