Site php.ini customization?

Discussion in 'Installation/Configuration' started by jcw007, Nov 2, 2006.

  1. jcw007

    jcw007 New Member

    This is gonna sound dumb, but am I right thinking that it is possible to customize each site (ie, setting different values for max_execution_time, max_input_time, memory_limit, etc.)? I know you can do some customization by creating different hosting plans, but I need a deeper-level customization. And I was looking for like a local php.ini file inside the folder for each site. I also looked inside db_ispconfig database in MySQL hoping to find something similar stored in database record form, but was unsuccessful. Does anyone have any idea? Thanks in advance!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no local php.ini file, but you may set these variables in the form of:

    php_admin_value file_uploads 1
    php_admin_flag safe_mode On

    in the apache directives field of the website. For further information on how to use these variables and which variables are available, have a look at the PHP documentation.
     
  3. jcw007

    jcw007 New Member

    Thanks till, you are awesome!!!
     
  4. diomet

    diomet New Member

    In my php.ini, php_admin_flag safe_mode is set to Off value, and in /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf is set to On. I have changed to Off, and restart apache. After a while, it`s change back.

    Why, and how can I solve this?

    Thank you!
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Never edit /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf manually.
    2) Disable the php safemode checkbox in the website settings in ISPConfig.
     
  6. diomet

    diomet New Member


    Thank you so much!
     

Share This Page