top
logo
English (United Kingdom)Nederlands (NL-BE)


Home FAQ Apache
Apache PDF Print

How to install the Apache httpd server on a dreambox ?

- Download and install it via the Downloadmenu of your image

- Download the Apache server in the download section and FTP this file to the Dreambox (for example /hdd/tmp)

- unpack the file in /hdd/opt
mkdir -p /hdd/opt
cd /hdd/opt
gzip -dc /hdd/tmp/httpd.tar.gz |tar xf -

- Start httpd: /hdd/opt/httpd/bin/apachectl start

The place where you can put your HTML documents is /hdd/opt/httpd/htdocs and the Apache server is listening on port 8080

How to install the Apache PHP module ?

- Download and install it via the Downloadmenu of your image

- Download the PHP module in the download section and FTP this file to the Dreambox (For example /hdd/tmp)

- Unpack the file in /hdd/opt/httpd
cd /hdd/opt/httpd
gzip -dc /hdd/tmp/apache_php.tar.gz |tar xf -

- copy conf/httpd.conf.php to conf/httpd.conf, if you want to use the default settings.
cp conf/httpd.conf.php conf/httpd.conf

- If you want to use PHP scripting on your apache server, you need to add the following lines:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php

- Restart apache
/hdd/opt/httpd/bin/apachectl restart

Source: Ronaldd

 

bottom

Powered by Joomla!. Designed by: Joomla Theme, ITAnets review. Valid XHTML and CSS.