Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    10
    cPanel/Enkompass Access Level

    Root Administrator

    Default Issues with ini_set.

    Hello,

    We are currently having an issue with 2 servers that we own. In our php.ini file we have "ini_set" in the list of disabled functions. Everything is good, noone can overwirte any of our settings and do any danage to the servers.

    We are getting reports that joomla and several other software refuse to work as that function is disabled.

    Now I know the fix for this issue is to take ini_set out of the list of disable function but that brings up a new issue. The new issue is that our users can then change any settings (including menory) and many other settings.

    Does anyone know how we can have ini_set open but only allow some php settings to be changed?

    Thanks
    Last edited by *Daniel; 11-15-2011 at 06:45 PM.

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Issues with ini_set.

    Hello

    I suggest using suPHP as your default handler for PHP if you do not already do so. Once suPHP is enabled, you can follow the steps from the following thread to limit a user's ability to make PHP configuration changes:

    Methods to Increase Security on suPHP

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    Member
    Join Date
    Mar 2010
    Posts
    10
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Issues with ini_set.

    Quote Originally Posted by cPanelMichael View Post
    Hello

    I suggest using suPHP as your default handler for PHP if you do not already do so. Once suPHP is enabled, you can follow the steps from the following thread to limit a user's ability to make PHP configuration changes:

    Methods to Increase Security on suPHP

    Thank you.
    Hello,

    Thankyou for the link Now if we do allow users to have their own php.ini file, is there a list on what they can change and what they can't?

    Thankyou

Similar Threads & Tags
Similar threads

  1. ini_set or htaccess memory_limit kills php processing
    By mrlugal in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-22-2010, 05:40 PM
  2. Beating the ini_set blues?
    By jols in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-21-2010, 08:41 AM
  3. enabling ini_set()
    By Chriz1977 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-14-2009, 11:25 AM
  4. should i enable ini_set() ?
    By tyuuu in forum New User Questions
    Replies: 0
    Last Post: 09-28-2008, 12:28 PM
  5. Is there a way to make php ignore ini_set ?
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-23-2008, 07:37 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube