The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cloudlinux per user php.ini

Discussion in 'CloudLinux' started by CheopsH, Jan 4, 2017.

Tags:
  1. CheopsH

    CheopsH Registered

    Joined:
    Dec 13, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Edegem
    cPanel Access Level:
    DataCenter Provider
    I can not get per user php.ini to work.
    We have a cloudlinux server with CageFS configured.

    Inside the users Cpanel I can change the php version from inherit to ea-phpxx and this does change the php version used for that user but I can't custom php directives to work through the 'MultiPHP INI Editor'. Those settings are not applied but the global settings are applied.

    I have followed the full CageFS and PHP Selector setups from docs.cloudlinux.com but to no avail.
    I tried editing the php.ini files directly through cagefsctl -e username but I get the error that those files are ready-only.

    The issue is that one customer wants to enable allow_url_fopen but we don't want it enabled for the other users.

    We have a CloudLinux 7.3 with WHM 60.0 build 28.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    110
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Go through the below documentation of cloud linux and I guess you will be able to fix the issue

    CloudLinux Documentation
     
  3. CheopsH

    CheopsH Registered

    Joined:
    Dec 13, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Edegem
    cPanel Access Level:
    DataCenter Provider
    I already tried that as stated in the original post.
    Also custom.etc folder did not exist yet which I found weird.

    the phpinfo page always says the configuration file is being read from /opt/cpanel/ea-php56/root/etc/php.ini
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    33,496
    Likes Received:
    929
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page