PHP warning within error.log

Discussion in 'Server Operation' started by Hans, Jun 12, 2007.

  1. Hans

    Hans Moderator Moderator

    On one of my servers, sometimes i have an error within my /var/log/apache2/error.log like:

    PHP Warning: Module 'json' already loaded in Unknown on line 0

    I am running Debian Etch with php5.
    Does anyone know why such an error occurs and how it can be avoided?

    I think it has to do something with JSON (JavaScript Object Notation), but i do not know why the error (sometimes) appears.

    Any advise is welcome.
     
    Last edited: Jun 12, 2007
  2. Hans

    Hans Moderator Moderator

    Report: Bug in Apache 2.2.3

    I had a closer look to the /var/log/apache2/error.log file and dicovered that before the error message as mentioned above, also these errors appeared:

    [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    After some googling, i found out that this is a bug within Apache 2.2.3, which is the Apache version which comes with Debian Etch.

    See also:
    http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=400918

    The bug seems to be fixed with the release of Apache 2.2.4.
     

Share This Page