I expected it to be somewhat bloated or slow, but it turned out to run very fast and smooth.
Apache2: apache2_0.52_armv5tel.ipk
PHP: php_5.0.2_armv5tel.ipk
Or simply from the pdaXrom-unstable feed. Note that the package name is apache2, not apache.
All modules, including mod_ssh and mod_dav, are functional, so you can configure your Z as a SSL-secured WebDAV-server.
The PHP-distribution includes support for SQLite. I could compile in MySQL support, but I don't like MySQL, so this will have to wait until someone tells me one single reason why he needs MySQL-support (Hint: "But everyone uses MySQL!" does not count as valid reason. SQLite is faster, smaller and needs no setup or administration. Over short or long, ISPs and hosting companies will switch options for standard customers to use SQLite instead of wasting resources and administration time on MySQL; trust me on this.)
The default DocumentRoot is /opt/apache2/htdocs/.
If you want to setup a specific wwwrun-user for the webserver process (per default it runs as user nobody), do a
CODE
adduser wwwrun
and change the the User and Group-directives in the httpd.conf-file to CODE
User wwwrun
Group wwwrun
. If you want anything more than serving static pages, you need to do this.Group wwwrun
Start and stop with apachectl start / stop. The apachectl-script is in /usr/bin, so it should be in your PATH-envvar. Everything else is in /opt/apache2/.
Comments are welcome.