Apache and PHP on OpenSlug
This is a small guide on how to install apache and php. I have got this to work after a lot of changes and the help of user pumpkin0. (please if you follow this guide and there is something that I left out edit this to include what I left out)
Before starting be sure to uninstall apache and php if you already have them installed.
Next you will want to download packages from these feeds:
Here are the package names (use wget <feed_name>package_name to download these packages to a folder:
Next list each of these packages after ipkg install and run it.
This will install all the packages. If you get package not found go back to one of the above feeds and download it.
Totolito saids: I downloaded alls package in /tmp with wget. Then I ran "ipkg install apache_2.0.54-2_armeb.ipk", no problem. But when I try ipkg install libxslt_1.1.12-3_armeb.ipk", that said: "Cannot find package". Same after ipkg update. What to do? Thanks <-
after installing libxml2 I get the following erorrs: edit /opt/etc/apache2/httpd.conf file. On the line that says DocumentRoot? = (something) make sure this is a writealbe folder of the base wabpage. root@tosSlug:/webstuff# ipkg install libxml2_2.6.22-r1_armeb.ipk Installing libxml2 (2.6.22-r1) to root... Configuring apache
this should start httpd. If it does not check the log file and find out why. You may need to edit your config file.