Ga naar inhoud
Sat4all gemigreerd! LEES HIER VERDER! ×

Aanbevolen berichten

Geplaatst:

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

Geplaatst:

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

Geplaatst:

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

  • Wie is er online   0 leden

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