Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default after installing suPHP,.htaccess setting not work

    Hi,


    i have .htaccess in certain account with following

    #php_value post_max_size 6M
    #php_value upload_max_filesize 6M
    #php_value max_execution_time 90
    #php_value max_input_time 90
    and after i install suPHP,

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

    how can i fix it?



    thanks

  2. #2
    Member sitekeeper's Avatar
    Join Date
    Aug 2001
    Location
    Troy, Mo
    Posts
    60

    Default

    You will have to use a php.ini file in /public_html folder of the domain you want this on.

    Bob

  3. #3
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default

    Hi,

    the code is the same as before ?
    #php_value post_max_size 6M
    #php_value upload_max_filesize 6M
    #php_value max_execution_time 90
    #php_value max_input_time 90
    or how should i change ?


    thanks

  4. #4
    Member sitekeeper's Avatar
    Join Date
    Aug 2001
    Location
    Troy, Mo
    Posts
    60

    Default

    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. #5
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default

    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. #6
    Member sitekeeper's Avatar
    Join Date
    Aug 2001
    Location
    Troy, Mo
    Posts
    60

    Default

    What version of apache/php?


    Bob

  7. #7
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default

    Quote Originally Posted by sitekeeper View Post
    What version of apache/php?


    Bob

    Hi,

    Apache1.3.39

    PHP Version 4.4.8


    thanks

  8. #8
    Member sitekeeper's Avatar
    Join Date
    Aug 2001
    Location
    Troy, Mo
    Posts
    60

    Default

    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. #9
    Member
    Join Date
    Dec 2007
    Posts
    119

    Default

    Hi,


    thanks a lot.

Similar Threads & Tags
Similar threads

  1. Re: after installing suPHP,.htaccess setting not work
    By corpresa in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-22-2010, 02:57 AM
  2. Setting shared SSL when using suPHP cause 500 Internal Server Error
    By markhard in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-06-2010, 02:13 AM
  3. .htaccess does not work
    By shuk007 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-31-2009, 10:04 PM
  4. setting up htaccess
    By Dragonfly Graph in forum New User Questions
    Replies: 2
    Last Post: 07-18-2006, 05:13 AM
  5. .htaccess setting for pdf file.
    By SACHIN in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-06-2005, 03:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube