Afficher un message
Vieux 14/05/2007, 20h28   #2
Jerim79
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP isn't parsed anymore

On May 14, 10:27 am, NickDG <nick.degra...@gmail.com> wrote:
> Since this morning all PHP files are returned as there original code
> instead of parsed to HTML.
>
> The server (a Debian) was installed by one of my long gone
> predecessors and has been running flawlessly for several years.
> Although I know my way around Linux, I don't know enough PHP or Apache
> to figure out what's wrong.
>
> As far as I can tell, nothing has happened over the weekend. The
> server didn't go down. I didn't upgrade the system on Friday, either.
>
> What more info do you need to be able to me?
>
> Thanks,
> Nick.
>
> Example of return text:
> <?php
> # Mantis - a php based bugtracking system
> # Copyright (C) 2000 - 2002 Kenzaburo Ito -
> ken...@300baud.org
> # Copyright (C) 2002 - 2004 Mantis Team - mantisbt-
> d...@lists.sourceforge.net
> # This program is distributed under the terms and conditions
> of the
> GPL
> # See the README and LICENSE files for details
>
> # --------------------------------------------------------
> # $Id: index.php,v 1.15.18.1 2006/07/22 20:03:00 vboctor Exp $
> # --------------------------------------------------------
> ?>
> <?php require_once( 'core.php' ) ?>
> <?php
> if ( auth_is_user_authenticated() ) {
>
> print_header_redirect( config_get( 'default_home_page' ) );
> } else {
> print_header_redirect( 'login_page.php' );
> }
> ?>
>
> PHP is version 4:
> moria:~# apt-show-versions | grep php
> php4-common/stable uptodate 6:4.4.4-8+etch2
> php4-dev/stable uptodate 6:4.4.4-8+etch2
>
> Apache is 1.3:
> moria:~# apt-show-versions | grep apache
> apache/oldstable uptodate 1.3.33-6sarge3
> apache-utils/oldstable uptodate 1.3.33-6sarge3
> apache2-utils/oldstable uptodate 2.0.54-5sarge1
> apache-doc/oldstable uptodate 1.3.33-6sarge3
> apache-common/oldstable uptodate 1.3.33-6sarge3


I had the same issue last week. My problem was a missing .so file in
the module directory. Once I got the correct .so file to go in there,
I just restart Apache and suddenly PHP was working again. Might want
to try replacing your current file if there is one already in there.
It my have become damaged.

  Réponse avec citation
 
Page generated in 0,06196 seconds with 9 queries