Somehow, op een van mijn servers wil php niet parsen.
Het betreft een net nieuwe server;
Linux thetruth.localhost 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
Waarbij de volgende applicaties zijn geinstalleerd.
en
Wij willen gebruik maken van apache2 / mysql 4.1 / en php 5.0
De inhoud van mods-enabled is:
en de .conf geeft aan dat deze luistert naar .php bestanden
een restart van apache2 geeft in de logfiles enkel:
Toch heeft php zoiets van bekijk het maar, ik heb geen zin en parsed php bestanden niet. In plaats daarvan worden de bestanden als rauwe text ter download aangeboden.
Iemand enig idee of soortgelijke situatie gehad?
Het betreft een net nieuwe server;
Linux thetruth.localhost 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
Waarbij de volgende applicaties zijn geinstalleerd.
code:
1
2
3
4
5
6
7
8
9
10
| ii apache2 2.0.54-5 next generation, scalable, extendable web se ii apache2-common 2.0.54-5 next generation, scalable, extendable web se ii apache2-doc 2.0.54-5 documentation for apache2 ii apache2-mpm-pr 2.0.54-5 traditional model for Apache2 ii apache2-utils 2.0.54-5 utility programs for webservers ii libapache2-mod 1.999.21-1 Integration of perl with the Apache2 web ser rc libapache2-mod 4.3.10-16 server-side, HTML-embedded scripting languag ii libapache2-mod 5.0.5-0.8~sarg HTML-embedded scripting language (apache 2.0 ii libapache2-mod 3.1.3-3 An Apache module that embeds Python within t ii libapache2-mod 3.1.3-3 An Apache 2 module that embeds Python 2.3 wi |
en
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| ii php4 4.3.10-16 server-side, HTML-embedded scripting languag ii php4-cli 4.3.10-16 command-line interpreter for the php4 script ii php4-common 4.3.10-16 Common files for packages built from the php ii php4-gd 4.3.10-16 GD module for php4 ii php4-mysql 4.3.10-16 MySQL module for php4 ii php5.0 5.0.5-0.8~sarg server-side, HTML-embedded scripting languag ii php5.0-cli 5.0.5-0.8~sarg command-line interpreter for the PHP 5.0 scr ii php5.0-common 5.0.5-0.8~sarg common files for packages built from the php ii php5.0-gd 5.0.5-0.8~sarg GD module for PHP 5.0 ii php5.0-mysql 5.0.5-0.8~sarg MySQL module for PHP 5.0 ii php5.0-openssl 5.0.5-0.8~sarg OpenSSL module for PHP 5.0 ii php5.0-session 5.0.5-0.8~sarg session module for PHP 5.0 ii php5.0-sockets 5.0.5-0.8~sarg sockets module for PHP 5.0 ii php5.0-zlib 5.0.5-0.8~sarg zlib module for PHP 5.0 |
Wij willen gebruik maken van apache2 / mysql 4.1 / en php 5.0
De inhoud van mods-enabled is:
code:
1
2
| actions.load mod_python.load perl.load php5.0.load userdir.load cgi.load perl.conf php5.0.conf userdir.conf |
en de .conf geeft aan dat deze luistert naar .php bestanden
code:
1
2
| AddType application/x-httpd-php .php .phtml .php5 AddType application/x-httpd-php-source .phps |
een restart van apache2 geeft in de logfiles enkel:
code:
1
2
3
| [Wed Jan 04 11:54:14 2006] [notice] caught SIGTERM, shutting down [Thu Jan 05 12:35:03 2006] [notice] mod_python: Creating 20 session mutexes based on 20 max processes and 0 max threads. [Thu Jan 05 12:35:03 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/5.0.5-Debian-0.8~sarge1 mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations |
Toch heeft php zoiets van bekijk het maar, ik heb geen zin en parsed php bestanden niet. In plaats daarvan worden de bestanden als rauwe text ter download aangeboden.
Iemand enig idee of soortgelijke situatie gehad?