Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    UK Midlands

    Managing local php.ini files


    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?

  2. #2
    try adding to your .htaccess -

    php_admin_value disable_functions " "
    Windows VPS | Linux Hybrid Server | 99.9% Uptime ( USA DC) ( INDIA DC)

Similar Threads

  1. Replies: 3
    Last Post: 02-28-2008, 08:56 PM
  2. Synchronizing local and remote files
    By hardjoko in forum Computers and Peripherals
    Replies: 2
    Last Post: 08-23-2007, 02:58 PM
  3. Transfer files to local from Dedicated WinXP
    By contron in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 07-30-2007, 08:44 AM
  4. preserve local time stamp for uploaded files
    By N8Webs in forum Programming Discussion
    Replies: 0
    Last Post: 09-01-2005, 04:08 PM
  5. Replies: 1
    Last Post: 03-22-2004, 10:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts