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
    GDufresne is offline Nearly a Glow Sage
    Join Date
    Dec 2013
    Posts
    18

    Default

    Ok . . thanks again and almost there. Another question:

    if I add the above command to the .htaccess file in the skeleton directory, then in a new account install WordPress via Softalicous ( or whatever it's called ) . . . will the .htaccess file be overwritten with the WP install?

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

    Default

    I'm not sure if adding .htaccess to skeleton is a good idea. The matter is that .htaccess should have an username, so this should be as value and I don't think that it supports any parameters.


    Just for your information, we have our own hooks for Wordpress (and some other scripts), if you installed Wordpress then Softaculous will create a custom php.ini with higher upload_limit and memory_limit values than the default.

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

    Default

    Thanks

    Quote Originally Posted by David I View Post
    IJust for your information, we have our own hooks for Wordpress (and some other scripts), if you installed Wordpress then Softaculous will create a custom php.ini with higher upload_limit and memory_limit values than the default.
    And what would those limits be?

    The issue of this thread came up because one of our WP accounts said it had a upload limit of 2M, wouldn't up load a 5M theme. But that site was set up via a cpanel restore.

  4. #4
    GlowHost-John's Avatar
    GlowHost-John is offline Technical Analyst
    Join Date
    Jan 2013
    Posts
    537

    Default

    If thats the case you can set the limit to 32M or 64M for your wordpress accounts and if you want to increase those limits again, please open a ticket and we will help you to increase the limits upto 256M, if needed.

  5. #5
    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.

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

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

    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 |

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