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!

install_php_inis

Discussion in 'General Discussion' started by sirbrent, Jul 16, 2009.

  1. sirbrent

    sirbrent Well-Known Member

    Joined:
    Sep 30, 2008
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    58
    Hello,
    I am wondering what /usr/local/cpanel/bin/install_php_inis does.

    I am trying to change the max file size which round cube can send as an attachment. I do not wish to affect all of cpanel's scripts so am not setting cpanel php to the value I want for roundcube (via WHM>tweak settings). I figured if i changed the upload and max sizes in /usr/local/cpanel/3rdparty/etc/roundcube/php.ini it will only affect roundcube. However when opening the file it says at the top:

    Code:
    ; CPANEL NOTICE: 
    ; If you edit this file you must run /usr/local/cpanel/bin/install_php_inis
    
    Hence my question, what does it do?

    Will changes be persistant, even after updates?

    Many thanks.
     
  2. sirbrent

    sirbrent Well-Known Member

    Joined:
    Sep 30, 2008
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    58
    Perhaps someone knows of a better/alternative way of changing the roundcube php configuration? I tried peppering the roundcube folder with custom php.ini files but it didnt work. On a side note, i noticed that I cannot use cpanel api in the scripts/applications installed in the 3rdparty folder -- even though these seem to be run through the same 'private' apache build cpanel itself uses. Any input would be appreciated.
     
  3. sirbrent

    sirbrent Well-Known Member

    Joined:
    Sep 30, 2008
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    58
    anyone at all know about this?
     

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