Apache error

Discussion in 'Installation/Configuration' started by nocture, Oct 20, 2008.

  1. nocture

    nocture New Member

    Linux ns.sir.uz 2.6.18-6-xen-amd64 #1 SMP Fri Oct 10 06:57:14 UTC 2008 x86_64 GNU/Linux
    File: /var/log/apache2/error.log

    Code:
    [Sun Oct 19 06:25:20 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    PHP Warning:  Module 'json' already loaded in Unknown on line 0
    [Sun Oct 19 06:25:20 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:20 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:21 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:21 2008] [error] an unknown filter was not added: PHP
    [Sun Oct 19 06:25:21 2008] [notice] child pid 27079 exit signal Segmentation fault (11)
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. nocture

    nocture New Member


    What to change?

    Code:
    $go_info["server"]["apache2_php"] = 'both'; // 'filter' = set PHP filters, 'addtype' = Set PHP addtype or 'both' = Set Filter + Addtype, suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It depends on your linux distribution and it is exactly described in the guide. As you use debian, you will have to change it to addtype.
     
  5. nocture

    nocture New Member

    I have little say in English so I can not understand what needs to be replaced for Debian. Write that it replaced?
    I'm using Debian
     
    Last edited: Oct 20, 2008
  6. falko

    falko Super Moderator ISPConfig Developer

    Use
    Code:
    $go_info["server"]["apache2_php"] = 'addtype';
     

Share This Page