satlover01rob Geplaatst: 30 oktober 2009 Geplaatst: 30 oktober 2009 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
Big fellow Geplaatst: 30 oktober 2009 Geplaatst: 30 oktober 2009 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
satlover01rob Geplaatst: 30 oktober 2009 Auteur Geplaatst: 30 oktober 2009 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
satlover01rob Geplaatst: 30 oktober 2009 Auteur Geplaatst: 30 oktober 2009 het werkt,alleen de update button werkt niet (cccaminfophp). satlover forever
Aanbevolen berichten