I have a problem with all of my sites

Discussion in 'General' started by zalo, Nov 23, 2008.

  1. zalo

    zalo New Member

    All my sites suddenly stopped working. They suddenly started showing the code instead of the desired PHP content.

    Example
    removed link

    It seems to be a PHP problem, but I’m not sure. Does anyone know what could cause this kind of problem?

    Need to fix this as soon as possible, Thanks:confused:

    Thanks
    Zalo
     
    Last edited: Nov 25, 2008
  2. mlz

    mlz Member

    You have PHP turned on for the sites? The only thing I can think of is that for some reason mod_php isn't being loaded, check your error.log for apache and ensure it's not bombing. Till or Falko probably could tell you right off the bat what it is tho.
     
  3. zalo

    zalo New Member

    Thanks for the reply!

    PHP is activated on all websites trough the webmin interface. All my sites have worked for at least a year with PHP, but it suddenly stopped working this weekend.

    How do i check if the mod_php is loaded?

    The error log seems to be ok?

    Error.log:
    [Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
    [Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
    [Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
    [Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
    [Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
    [Sun Nov 23 21:33:49 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:33:49 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:33:50 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 21:33:55 2008] [error] [client 81.167.0.236] File does not exist: /var/www/sharedip/favicon.ico, referer: http://www.website.no/
    [Sun Nov 23 21:37:03 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:37:04 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:37:04 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 21:44:47 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:44:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:44:48 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 21:48:17 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:48:18 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:48:18 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 21:49:32 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:49:33 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:49:33 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 21:51:22 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 21:51:23 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 21:51:23 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
    [Sun Nov 23 22:39:55 2008] [notice] caught SIGTERM, shutting down
    [Sun Nov 23 22:49:44 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Sun Nov 23 22:49:54 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations

    Regards
    Salomon
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Your site's working for me, so I guess you got it fixed?
     
  5. zalo

    zalo New Member

    Sorry about the late reply.

    I found the problem yesterday. The PHP lines was missing in the Vhosts file, Disabling and enabling PHP within ISPconfig fixed the problem.

    Thanks for the quick reply from everyone; you all set me on the right track.

    ISPconfig is a great product.:)

    Regards
    Zalo
     

Share This Page