The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

after installing suPHP,.htaccess setting not work

Discussion in 'General Discussion' started by meeti, Feb 1, 2008.

  1. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Hi,


    i have .htaccess in certain account with following

    and after i install suPHP,

    all the setting in my .htaccess does not work at all,

    how can i fix it?



    thanks
     
  2. sitekeeper

    sitekeeper Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Troy, Mo
    You will have to use a php.ini file in /public_html folder of the domain you want this on.

    Bob
     
  3. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    the code is the same as before ?
    or how should i change ?


    thanks
     
  4. sitekeeper

    sitekeeper Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Troy, Mo
    Just use these..
    more @ http://us2.php.net/ini.core

    Code:
    post_max_size = 6M
    upload_max_filesize = 6M
    max_execution_time = 90
    max_input_time = 90
    memory_limit = 8M
    
    Bob
     
  5. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Hi,


    thanks for your teaching a lot.


    i have another question,

    if i set the max ram per account is 16 MB only,

    and certain account set themself it with php.ini to his account with 128MB,

    the system will following his setting?


    if yes,all the setting of system default value will have no effect?



    thanks
     
  6. sitekeeper

    sitekeeper Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Troy, Mo
    What version of apache/php?


    Bob
     
  7. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16

    Hi,

    Apache1.3.39

    PHP Version 4.4.8


    thanks
     
  8. sitekeeper

    sitekeeper Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Troy, Mo
    I have only used suphp on apache 2.x and php5 but using suphp.conf you should be able to lock down the php.ini in php4 too. Also see http://us.php.net/configuration for more info.

    Bob
     
  9. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Hi,


    thanks a lot.
     
Loading...

Share This Page