ISPConfig, PHP settings per site

Discussion in 'General' started by Hagforce, Mar 14, 2007.

  1. Hagforce

    Hagforce New Member

    Hello

    I have a site where I need to set the following php settings:
    Code:
    php_value memory_limit 32M
    php_value max_execution_time 60
    php_flag register_globals Off
    php_flag magic_quotes_gpc Off
    php_flag magic_quotes_runtime Off
    php_value upload_max_filesize 64M
    php_flag session.use_trans_sid Off
    php_value session.gc_probability 1
    php_value session.gc_divisor 10
    php_value mbstring.func_overload 7
    php_flag display_errors Off
    I tried to set them in the Apache Directives in ISPConfig, but that didn`t work.

    What is the best way to set things like this per site?

    And for something totaly off topic....
    I enabled frontpage exstensions, and now I have a "Frontpage Password:" on all the sites, does this mean that I have to set a password for this on all sites (is it blanck now?) I don`t have frontpage to test this
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Its works this way. Which problem do you have.

    You must install frontpage on your server before you can activate it.
     
  3. vogelor

    vogelor New Member

    this will ONLY work if you DONT use suphp.
    if you use suphp the direcifes are ignored.

    i am using suphp and helped me by using my own php.ini for every web

    (i changed the template so ispconfig creates a suphpconfig - entry in every web linking to a php.ini in /var/www/web[n]/etc/php/php,ini)
     
  4. u4david

    u4david New Member

    Need more details please drop me a line.Directives with suPHP

    I need memory and other directives to be managed per site:
    I use SuPHP and suexec in site configuration

    What exactly do i need do?


    I did before changed this settings site wide in /etc/
    But that is now what i need.(eventually it messed up things)I need per site configuration but suPHP+suEXEC seems to ignore site directives in ISPconfig3.

    Thank you for help.

    Should this be submitted as fix for next relise of ispconfig?


    PS:
    Not to be associated with any add on this post>>>>>>>>>>>>
     

Share This Page