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.

How to change the max upload for particular user ?

Discussion in 'General Discussion' started by F_A_H_D, Dec 7, 2006.

  1. F_A_H_D

    F_A_H_D Active Member

    Joined:
    Sep 17, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Could anyone tell me how to increase the files upload php from 2m "default to 9m ??
     
  2. F_A_H_D

    F_A_H_D Active Member

    Joined:
    Sep 17, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    upload_max_filesize this option
     
  3. F_A_H_D

    F_A_H_D Active Member

    Joined:
    Sep 17, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    However when i add the lines below in the .htaccess the interval server error apeear during
    the web site load
    php_value upload_max_filesize 10M
    php_value post_max_size 20M



    *i dont want to enable this for server wide just for particular user
     
  4. pravin

    pravin Member

    Joined:
    Jun 8, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    If phpsuexec is enabled on your server, by adding any php value to your .htaccess file will give your internel server error. Try adding following to the VirtualHost entry of the domain in httpd.conf file.


    <IfModule mod_php4.c>
    php_admin_value upload_max_filesize = 20M
    </IfModule>
     
Loading...

Share This Page