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,

    It's possible to set your own php.ini for new accounts, please see "Skeleton Directory" option in WHM or this video: Learning about the skeleton directory

    If you want to increase those limits for all accounts, please open a ticket and we will help you.

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

    Default

    Thanks to both of you and David that video is helpful.

    1 - When David says "If you want to increase those limits for all accounts, please open a ticket and we will help you." Does that mean you will make a global change that resets all my accounts . . . or do it on an account by account basis?

    2 - Does GlowHost have a max size limit for the upload file and post size?

    3. My understanding is that if I add the line - "SuPHP_ConfigPath /home/cctset3/public_html/php.ini " - to the .htaccess file in the public_html, it will cause the setting to apply to all sub folders/directories . . . . correct?

    4. Can I use php5.ini or is it better to stay with php.ini ?

    Thanks.

    GARRY

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

    Default

    1. We can make a simple script to increase the limits for all of your accounts.

    2. We don't have such limit, but optimal value is about 256Mb.

    3. Yes, you are right. Here is the similar thread: http://forums.glowhost.com/knowledge...ders-2581.html

    4. You should use php.ini, php5.ini may cause problems.

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

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

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

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

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