Ga naar inhoud


foutmelding apache domeinnaam


satlover01rob

Aanbevolen berichten

root@nslu2:~$ /opt/bin/ipkg-opt install php-apache

Installing php-apache (5.2.11-2) to /opt/...

Downloading http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/php-a pache_5.2.11-2_armeb.ipk

Installing apache (2.2.13-1) to /opt/...

Downloading http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/apach e_2.2.13-1_armeb.ipk

Configuring apache

update-alternatives: Linking //opt/sbin/htpasswd to /opt/sbin/apache-htpasswd

update-alternatives: Linking //opt/sbin/httpd to /opt/sbin/apache-httpd

httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.140 for ServerName

httpd (no pid file) not running

httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.140 for ServerName

Configuring php-apache

Successfully terminated.

 

Hoe kan ik dit oplossen? Ik heb geen domein (enkel werkgroup).

 

satlover forever

Link naar reactie
Delen op andere sites


In /etc/hosts een entry maken met je ip adres en de naam die je het beestje wilt geven...

 

Of een virtual hosts entry maken in de apache configuratie. (Zie http://httpd.apache.org/docs/2.2/vhosts/ )

 

Het enige wat deze melding inhoudt is dat bij foutmeldingen niet de servernaam maar het ip adres wordt weergegeven.

“Success is not final, failure is not fatal: it is the courage to continue that counts.” ~ Winston Churchill

Link naar reactie
Delen op andere sites

bedankt.

Heb deze manual gevolgd, maar na het invoegen van php.conf in httpd.conf werkt het niet meer goed.Wat doe ik dan fout?

 

PHP-Apache – a great Web server: /opt/bin/ipkg-opt install php-apache

 

1. Run apache with /opt/sbin/httpd

 

2. Restart apache with /opt/sbin/httpd –k restart

 

3. To get PHP to work, you need to copy the text from /opt/etc/apache2/conf.d/php.conf into

 

/opt/etc/apache2/httpd.conf

 

4. You can test PHP by creating a file called test.php with the following contents:

<?php phpinfo(); ?> and surf to http://<slugip>/test.php

satlover forever

Link naar reactie
Delen op andere sites

Maak een account aan of log in om te reageren

Je moet een lid zijn om een reactie te kunnen achterlaten

Account aanmaken

Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!

Registreer een nieuwe account

Inloggen

Heb je reeds een account? Log hier in.

Nu inloggen
  • Wie is er online   0 leden

    • Er zijn geen geregistreerde gebruikers deze pagina aan het bekijken
×
×
  • Nieuwe aanmaken...