← Back to team overview

sslug-teknik team mailing list archive

Re: Apache2 php

 

Jeg mangler et modul
es:~# # apache2 -k restart
es:~# Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load:
-bash: Syntax: command not found
es:~# Cannot load /usr/lib/apache2/modules/libphp5.so into server: 
/usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such 
file or directory
-bash: Cannot: command not found


Her er hvad jeg har installeret

es:~# dpkg -l | grep php
ii  dh-make-php                    0.2.0                  Creates Debian 
source packages for PHP PEAR
rc  libapache2-mod-php5            5.1.6-1                server-side, 
HTML-embedded scripting languag
ii  php-pear                       5.2.0-8+etch10         PEAR - PHP 
Extension and Application Reposit
ii  php5-cli                       5.2.0-8+etch10         command-line 
interpreter for the php5 script
ii  php5-common                    5.2.0-8+etch10         Common files for 
packages built from the php
ii  php5-mysql                     5.2.0-8+etch10         MySQL module for 
php5
ii  php5-pgsql                     5.2.0-8+etch10         PostgreSQL module 
for php5


"Michael Rasmussen" <mir@xxxxxxxxx> skrev i en meddelelse 
news:20080405185452.7d1fb1a3@xxxxxxxxxxxxxxxxxxxx...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, 5 Apr 2008 18:46:29 +0200
> "Hans Ole Hansen" <hoh@xxxxxxxxxxx> wrote:
>
>>  Når jeg med min browser prøver at hente siden
>> http://mydomain/index.php bliver index.php overhovedet ikke udført.
>> Istedet bliver siden index.php downloadet.
>>
>> Hvad kan være galt. PHP5 er installeret men, jeg ved ikke om det
>> kører.
>>
> Prøv at gøre følgende i en terminal:
> sudo a2enmod php5
>
> Herefter skal du genstarte apache.
>
> - -- 
> Hilsen/Regards
> Michael Rasmussen
> http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
> A computer is like air conditioning: it becomes useless when you open
> windows.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFH967cVErYVePoCRcRAs8oAJ4zXmQVs0VL/iXbbmCttHMzcdAaqQCdFTb+
> dW73Po/Rkd9UPZkBQMXuFdY=
> =MzyG
> -----END PGP SIGNATURE-----
> 




Follow ups

References