Results 1 to 2 of 2

Thread: disable special php.ini features with suexec

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Default disable special php.ini features with suexec

    Hi,

    we are using suexec in order to provide each customer with an own php.ini; is there any possibility to prevent the customers from setting safe_mode to off in their php.ini?

    Kind regards,
    Christian

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: disable special php.ini features with suexec

    Are you using suPHP, do you mean? If so, you can try the following to prevent individual php.ini files and then still allow some custom changes per account:

    http://forums.cpanel.net/f185/method...es-167186.html
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Replies: 1
    Last Post: 07-11-2011, 06:54 PM
  2. php.ini disable functions
    By jerry12345 in forum Security
    Replies: 0
    Last Post: 09-15-2010, 03:37 PM
  3. disable open_basedir in php.ini
    By sadanoops in forum Security
    Replies: 2
    Last Post: 02-27-2008, 10:50 AM
  4. Disabling local php.ini while php still runs in SUExec mode
    By gizmoh in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-10-2005, 11:34 AM
  5. Enable or Disable PHP SUEXEC
    By Jeff75 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-13-2003, 05:11 PM