Change PHP Memory Settings Per User

Discussion in 'General' started by Mosquito, Jan 19, 2010.

  1. Mosquito

    Mosquito New Member

    I have all of my users set at the Default PHP memory settings, limiting file size uploads, etc. I need to over ride this for a single user. Is this possible?
     
  2. BorderAmigos

    BorderAmigos New Member

    Try putting the following line in the users .htaccess file, changing the 16M to whatever...

    php_value memory_limit 16M
     
  3. Mosquito

    Mosquito New Member

    This did not work - as I would expect it not to. I don't want users themselves to be able to override the settings I, as an administrator, have put in place.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can add the php_value and php_admin lines into the apache directives field of the website settings.
     
  5. Nicram

    Nicram Member HowtoForge Supporter

    Same question here.
    Ho to setup php settings per user? So they will not be able to change them (they are added as clients, and can change settings for their domains).

    I try to edit apache directives but it do not work.
    My syntax is:
    php_value upload_max_filesize 12M
    I'm using SuPHP, maybe I must use other PHP settings?

    I have found answer on SuPHP site:

     
    Last edited: Mar 24, 2010

Share This Page