Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Configuration PHP for a specific user

Discussion in 'General Discussion' started by balmerweb, Jul 14, 2006.

  1. balmerweb

    balmerweb Registered

    Joined:
    Jul 11, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hello Friends!

    As that I make to define a configuration of php espeficamente for one determined. For example, I need that max file upload php either 15 Mb one determined to user. He has as to make this for the WHM?

    Thank's and sorry for my bad english! :)
     
  2. MarkReaktor7

    MarkReaktor7 Member

    Joined:
    Jan 6, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    php_admin_value upload_max_filesize "32M"

    in the users' httpd.conf virtual host should do it i think...
     
  3. elix

    elix Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    156
    The following in .htaccess will also do it:

    php_flag upload_max_filesize "32M"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice