Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

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

  1. #11
    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?

  2. #12
    Matt's Avatar
    Matt is online now GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,208

    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 |

  3. #13
    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.

  4. #14
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,871

    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.

  5. #15
    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: 397
Size:  118.8 KB


    phpinfo()

    Server alpha. Still showing old settings.

  6. #16
    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.

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

    Default

    OK . . . one last question (I think) - Does this global change affect all versions of PHP or only the default?

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

    Default

    Thank you for the interesting questions

    If you change the PHP version then what will be used is the default php.ini file (I mean default from sources) where all limits are from developers (with the minimum requirements), but you can easily change them:

    Click image for larger version. 

Name:	php-select.jpg 
Views:	598 
Size:	160.2 KB 
ID:	461
    Last edited by Matt; 02-06-2014 at 05:26 PM.

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

    Default

    That's handy to know . . . .thanks for everything.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 04-21-2011, 07: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, 10: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, 09: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, 03: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