Results 1 to 10 of 19

Thread: Php.ini file in reseller's account.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    David I is offline Newbie
    Join Date
    Jun 2010
    Posts
    1,242

    Default

    Hello Garry,

    We have just decided to increase those limits. Now all shared server have the following limits:
    Code:
    root@server [~]# grep -E "post_max_size|upload_max_filesize" /usr/local/lib/php.ini
    post_max_size = 64M
    upload_max_filesize = 56M
    This should be enough for most of CMS.

  2. #2
    GDufresne is offline Nearly a Glow Sage
    Join Date
    Dec 2013
    Posts
    18

    Default

    Quote Originally Posted by David I View Post
    Hello Garry,

    We have just decided to increase those limits. . .
    Does this apply to existing accounts, or only newly created account?

    Those limits seem good, but I assume that I can control it on an account by account basis via a php.ini file . . . correct?

  3. #3
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,434

    Default

    It applies to all accounts that are on the server, unless they have a php.ini on the account which overrides this setting.

    You can make a phpinfo file and view it in your browser to see the global and local values on each account or subfolder.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  4. #4
    GDufresne is offline Nearly a Glow Sage
    Join Date
    Dec 2013
    Posts
    18

    Default

    Quote Originally Posted by Matt View Post
    It applies to all accounts that are on the server, unless they have a php.ini on the account which overrides this setting.

    You can make a phpinfo file and view it in your browser to see the global and local values on each account or subfolder.
    When I check my accounts with no custom php.ini file, the settings come up as follows

    Memory Limit: 256M
    Max POST Size: 8M
    Max Upload Size: 2M
    Max Execution Time: 30s

    Apparently the new global settings are not applying to all accounts on the server. The ones I have installed a custom php.ini file on are showing the settings I've created.

  5. #5
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    2,161

    Default

    Well, looks like the global settings on your server were not updated. This should be fixed now.

    Code:
    [~]#  grep -E "post_max_size|upload_max_filesize|memory_limit" /usr/local/lib/php.ini
    memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)
    post_max_size = 64M
    upload_max_filesize = 64M
    In case you still have some accounts without custom php.ini reporting different results, please, open a ticket for Tech Support and describe the way you check it.

  6. #6
    GDufresne is offline Nearly a Glow Sage
    Join Date
    Dec 2013
    Posts
    18

    Default

    Quote Originally Posted by Alexander View Post
    Well, looks like the global settings on your server were not updated. This should be fixed now. .
    Name:  phpvalues.png
Views: 482
Size:  118.8 KB


    phpinfo()

    Server alpha. Still showing old settings.

  7. #7
    David I is offline Newbie
    Join Date
    Jun 2010
    Posts
    1,242

    Default

    I might be some cache (in browser or on the server or some files weren't updated), because I see no problems:
    post_max_size 64M
    upload_max_filesize64M

    Please check again.

Similar Threads

  1. Replies: 0
    Last Post: 04-21-2011, 06:13 PM
  2. [How To] Create or edit a php.ini file
    By AndrewGlow in forum Knowledge Base
    Replies: 0
    Last Post: 01-23-2011, 09:02 AM
  3. php.ini - What is the best way to create a php.ini
    By salmon in forum General Support
    Replies: 1
    Last Post: 08-05-2010, 08:26 AM
  4. [HOW To] Edit the global php.ini file in Mac OSX
    By Matt in forum Knowledge Base
    Replies: 9
    Last Post: 11-19-2009, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14