On my Airlive I have the 'FW C009-M2 Advanced' firmware updated.
In order to setup Apache & PHP download from
http://mgb111.pradnik.net the file "servers-www/apache2-2.0.50-php5-cgi-ssl.tar.gz". Then once you untar the file do the following:
a. in the configuration file 'httpd.conf' within '/mnt/C/sys/apache22/conf' perform the following changes:
Listen 7070 <--- modify this line: set the port that it is open in your router as well !
User nobody <--- modify this line: access rights
Group nobody
ServerName mysite.dyndns.org <-- modify this line: where 'mysite...' is your URL
<FilesMatch \.php$> <-- add this extra lines into the configuration file
SetHandler application/x-httpd-php
</FilesMatch>
b. from within '/mnt/C/sys/etc' rename the 'php.ini-dist' to 'php.ini'
c. To test if php has been installed succesfully create a file with accesbile directory
of appache named "test_php.php" with the following content:
<?php phpinfo(); ?>
and observer the output of internet browser.
If in 'env-ng' file you haven't configured apache to start automatically (at boot), you may start it manually by typing:
/mnt/C/sys/apache22/bin/apachectl -f /mnt/C/sys/apache22/conf/httpd.conf &
Regards,
Christos