Jump to content


foutmelding apache domeinnaam


satlover01rob

Recommended Posts

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 to comment
Share on other 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 to comment
Share on other 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 to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Lees alvorens je verder gaat onze Terms of Use en Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.