suPHP_Config

Discussion in 'Installation/Configuration' started by planet_fox, Jan 9, 2007.

  1. planet_fox

    planet_fox Member HowtoForge Supporter

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess it should work if you add this line in the apache directives field of the website.
     
  3. planet_fox

    planet_fox Member HowtoForge Supporter

    When I do this config manual in the Vhost, what is when Isp config makes reload ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You must put this in the apache directives field and not in the vhost, otherwise it will be overwritten.
     
  5. planet_fox

    planet_fox Member HowtoForge Supporter

    How I can than a php.ini exclusiv for some Webs of ISP Config
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The apache directives field is always exlusive for one website. Every website has its own apache directives field and everything you enter in this field is parsed into the vhost configuartion for just this one website.
     
  7. planet_fox

    planet_fox Member HowtoForge Supporter

    I become this error on restart apache

    Code:
    Invalid command 'suPHP_Config', perhaps mis-spelled or defined by a module not included in the server configuration
    my Vhost

    HTML:
    <VirtualHost 192.168.1.1>
    ServerName www.my.de:80
    ServerAdmin [email protected]
    DocumentRoot /home/ww/web40/web
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm $
    ScriptAlias  /cgi-bin/ /home/ww/web40/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /home/times/web40/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    suPHP_Engine on
    suPHP_Config /home/ww/web40/phptmp/php.ini 
    suPHP_UserGroup web40_ftp web40
    AddHandler x-httpd-php .php .php3 .php4 .php5
    suPHP_AddHandler x-httpd-php
    Alias /error/ "/home/ww/web40/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3
    RewriteEngine on
    
    </VirtualHost>
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try this instead:

    suPHP_ConfigPath /www/conf/user01

    Where /www/conf/user01 is the directory where you have put the php.ini file.
     

Share This Page