looking for my php.ini file

Discussion in 'General' started by Heeter, Feb 13, 2009.

  1. Heeter

    Heeter Member

    Hi all,

    I am looking to edit my php.ini file for one of my ispconfig sites.

    I need to increase the memory for php.

    Thanks

    Heeter
    ________
    Medical Marijuana Seeds
     
    Last edited: Mar 7, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There are no individual php.ini files foor sites. You can einter set values with php_admin_flag and php_admin_values directives in the apache directives field of the website or you edit the global php.ini file.
     
  3. Heeter

    Heeter Member

    Last edited: Mar 7, 2011
  4. _X_

    _X_ New Member

    I think that you need to add:
    php_value memory_limit 24M

    into Apache Directives (Optional) for that site.

    so it should look something like this:

    change XXX with your value

    <Directory "/var/www/webXXX/web">
    php_value memory_limit 24M
    </Directory>
     
  5. _X_

    _X_ New Member

    or
    php_admin_value memory_limit 24M
     
  6. Heeter

    Heeter Member

    Thanks X,


    I get this error when I drop into the apache directive

    Code:
    You cannot assign HTTPD Includes to this website.
    

    Heeter
    ________
    Mazda f3a transmission picture
     
    Last edited: Mar 7, 2011
  7. _X_

    _X_ New Member

    Well i tried and it worked with

    php_admin_value memory_limit 24M

    with no error displayed by ISPConfig and bigger memory limit for site that I entered it for.
     

Share This Page