Why php does not work with ispconfig?

Discussion in 'Installation/Configuration' started by high_moon, Jan 20, 2007.

  1. high_moon

    high_moon New Member

    All the sites that i've created, even with the php selected, don't work! Why?

    Anyone have a solution for this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please be a bit more detailed, with this information we cant even guess what your problem is.

    1) Which linux distribution do you use?
    2) Are you talking about websites that you created in ISPConfig or where these websites on the server before you installed ISPConfig?
    3) Do you get any errors in the ISPConfig logfile /home/admispconfig/ispconfig/ispconfig.log
     
  3. jdumont

    jdumont New Member

    We have the same problem. We are not able to launch php scripts on ISPConfig & suse 10.2.

    It's a new installation, the websites are added after the installation of ISPConfig.

    I don't see any problems regarding php in:
    /home/admispconfig/ispconfig/ispconfig.log

    regards

    ---

    vi /etc/apache2/vhosts/Vhosts_ispconfig.conf

    ###################################
    #
    # ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost xxxxxxxxxx:80
    <VirtualHost xxxxxxxxxxx:80>
    ServerName localhost
    ServerAdmin [email protected]
    DocumentRoot /var/www/sharedip
    </VirtualHost>

    ######################################
    # Vhost: www.xxxxx.xx:80
    ######################################
    #
    #
    <VirtualHost xxxxxxxxxxxxxxx:80>
    SuexecUserGroup web2_xxxxxxxxx web2
    ServerName www.xxxxx.xx:80
    ServerAdmin [email protected]
    DocumentRoot /srv/www/web2/web
    ServerAlias xxxxx.xx
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ScriptAlias /cgi-bin/ /srv/www/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /srv/www/web2/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode On
    php_admin_value open_basedir /srv/www/web2/
    php_admin_value file_uploads 1
    php_admin_value upload_tmp_dir /srv/www/web2/phptmp/
    php_admin_value session.save_path /srv/www/web2/phptmp/
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
    AddType text/vnd.wap.wml .wml
    AddType text/vnd.wap.wmlscript .ws .wmlscript
    AddType image/vnd.wap.wbmp .wbmp
    Alias /error/ "/srv/www/web2/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 ^/~([^/]+)(/(.*))? /srv/www/web2/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web2/user/$1/web/$3
    </VirtualHost>
    #
    #
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page