Results 1 to 2 of 2
Thread: Managing local php.ini files
-
09-02-2009, 06:32 AM #1Newbie
- Join Date
- Sep 2009
- Location
- UK Midlands
- Posts
- 16
Managing local php.ini files
Hi,
I'm running a WHM/Cpanel environment under Centos 5.3. Apache is running PHP in dso mode.
In my core php.ini I have set a bunch of disable_functions to help prevent anything outrageous going on in customer accounts.
However, there are a few accounts who I trust and would like to allow them to over-ride the central settings by either .htaccess or local php.ini means.
I'm on a steep learning curve... I have tried
disable_functions =
in php.ini files in the public_html path for customer accounts with no effect.
Ideally I (as in root admin) would like to alter the php settings for specific accounts. .htaccess seems to work fine for user accounts at the moment, but I haven't been able to find the right syntax to modify the disable_functions directive from within it.
Any help?
-
09-02-2009, 08:56 AM #2Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 72
try adding to your .htaccess -
php_admin_value disable_functions " "Windows VPS | Linux Hybrid Server | 99.9% Uptime
http://www.odishahosting.com ( USA DC)
http://www.odishahosting.in ( INDIA DC)
Similar Threads
-
Free Windows s/w to backup mysql & files on server to local machine
By djstonefish in forum Web HostingReplies: 3Last Post: 02-28-2008, 08:56 PM -
Synchronizing local and remote files
By hardjoko in forum Computers and PeripheralsReplies: 2Last Post: 08-23-2007, 02:58 PM -
Transfer files to local from Dedicated WinXP
By contron in forum Hosting Software and Control PanelsReplies: 3Last Post: 07-30-2007, 08:44 AM -
preserve local time stamp for uploaded files
By N8Webs in forum Programming DiscussionReplies: 0Last Post: 09-01-2005, 04:08 PM -
Cheap local advertising for sale. Your website seen by LOCAL people in your town
By sitemister in forum Other Offers & RequestsReplies: 1Last Post: 03-22-2004, 10:54 PM