PHP5 on Apache2 SuSe10.2 64bit not running

Discussion in 'Installation/Configuration' started by PierreR32, Jul 12, 2007.

  1. PierreR32

    PierreR32 New Member

    Hi Every,

    i know thats any People have the same Problem how i.
    But my english is so abd thats i understand any thinks.

    Too my server.

    I install the Server yesterday new. I make the Howto for SuSe 10.2 step by step.
    After the Server Installation i tested the PHP in the default web (whitout ISPConfig) and its running :eek: !!!!
    So. I Install ISPConfig and create a new Web upload in this web a phpinfo file and is not running :mad: :mad:
    I check The error Log from apache and found the Same Error how in the Link.
    I fixed the Config file from ISPConfig and save the web check thats ISPConfig make the changes and restart manual the Apache2.
    The error came not in the error_log too but PHP5 not running ...

    Ok i help. At the another Links many Post but i see not a solve of this Problem.
    What must i make thats running php5 ?
    Please Help is very diffcult for me :(

    Greetz and Thanks
    Pierre

    ps. sorry for an new thread but in think is better for another visters with same error.
     
  2. PierreR32

    PierreR32 New Member

    Ok new test.
    I have reinstall the Server now. This time with SuSe10.2 32Bit.
    And ... the Same Error ...

    Code:
    [Fri Jul 13 11:19:18 2007] [error] an unknown filter was not added: PHP
    [Fri Jul 13 11:19:18 2007] [error] an unknown filter was not added: PHP
    [Fri Jul 13 11:19:44 2007] [notice] caught SIGTERM, shutting down
    [Fri Jul 13 11:19:45 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Fri Jul 13 11:19:45 2007] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
    
    I change the config.php File from Ispconfig and restart the apache.
    The Browser want download the php file :(

    here the access log
    Code:
    87.xxx.xxx.xxx - - [13/Jul/2007:11:19:18 +0200] "GET /phpinfo.php HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows; U                                               ; Windows NT 5.1; de; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12"
    87.xxx.xxx.xxx - - [13/Jul/2007:11:19:50 +0200] "GET /phpinfo.php HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows; U                                               ; Windows NT 5.1; de; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12"
    87.xxx.xxx.xxx - - [13/Jul/2007:11:21:50 +0200] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows; U; Windows N                                               T 5.1; de; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12"
    87.xxx.xxx.x - - [13/Jul/2007:11:24:59 +0200] "GET / HTTP/1.1" 200 1251 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
    87.xxx.xxx.xxx - - [13/Jul/2007:11:25:12 +0200] "GET /phpinfo.php HTTP/1.1" 200 17 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
    
    After Change and restart from the Apache come nothings errors in the errorfile.

    Sorry but i understand it.
    I install any (10) Server with ISPConfig and never so much Problems.
    Please Help.

    Greetz
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. PierreR32

    PierreR32 New Member

    Here the Vhost
    Code:
    <VirtualHost xx.xx.xxx.xxx:80>
    SuexecUserGroup web1_1 web1
    ServerName serverxx.xxxxxx.de:80
    ServerAdmin webmaster@xxxxxx.de
    DocumentRoot /srv/www/web1/web
    ServerAlias xxxxxx.de
    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/web1/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /srv/www/web1/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType application/vnd.wap.wmlscriptc .wmlsc .wsccript
    AddType image/vnd.wap.wbmp .wbmp
    Alias /error/ "/srv/www/web1/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/web1/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web1/user/$1/web/$3
    </VirtualHost>
    
    
    
    Here the mime.types

    Code:
    application/x-palm-database pdb prc
    application/x-par2 PAR2 par2
    application/x-pef-executable
    #application/x-perl pl pm al perl
    #application/x-php php php3 php4
    application/x-pkcs12 p12 pfx
    application/x-planner planner mrproject
    application/x-planperfect pln
    
    I hope u can help.

    Greetz Pierre
     
  5. falko

    falko Super Moderator ISPConfig Developer

Share This Page