Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php.in per user in FCGI

Discussion in 'CloudLinux' started by activa, Jun 21, 2013.

  1. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Hello

    in cloudlinux with cagefs , php run as FCGI . the custome php.ini in user's pubic_html working ?

    i want to give every user the ability to disable/enable the function they want with it own php.ini .

    how to do this ?
     
  2. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    Princeton, New Jersey, United States
    Yes, it will work. The easiest way is to use PHP Selector.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Without php selector will not work ?
     
  4. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    Princeton, New Jersey, United States
    Without PHP selector -- it would work same way as on CentOS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    any tuto for this ? or wiki for this

    i have centos + cpanel + CL6
     
  6. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    i have put a php.ini with some custom need but is not working ?
     
  7. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    100
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Poland
    cPanel Access Level:
    DataCenter Provider
    use not php.ini but user.ini
     
  8. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Not Working also ... note i don't have php selector and running under FCGI .
     
  9. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    100
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Poland
    cPanel Access Level:
    DataCenter Provider
    I have CloudLinux and FastCGI, without php-selector

    You should use: .user.ini (with dot in the beginning)
     
  10. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    i have created a file user.ini in the root folder and inside public_html but not affect the setting .

    i have make in it as a test

    safe_mode = off

    is this correct ?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice