Networking :: Adding PHP to Monkeyweb?



I have DSL. DSL is -nice-.
Now I want a wiki on my DSL box. Because I'm confused about other things and perhaps because I might want to have the wiki on another system later, I chose a wiki implemented in PHP.
So I want PHP on DSL's webserver, MonkeyWeb.
There's a link to a version of MonkeyWeb that -apparently- supports PHP on the explanation of the DSL Panel (http://www.damnsmalllinux.org/wiki/index.php/DSLPanel).

So this is my issue:
The explanation isn't terribly clear, first of all, on whether the archive is necessary or not. It seems that it is (PHP doesn't function without it at least), so I tried getting and extracting.
Next, it's not clear -what- the archive is.. a beta version? An extension to MonkeyWeb? Can I remove it again safely?

The archive itself is a .tar.gz. So I gunzipped and then tried 'tar xmf <file>'. It complains about an obsolete base-64 encoding, and this is where I stopped, at a loss.

Advice and/or help received with thanks ^.^

-fluxus.

fluxus, monkey webserver comes on the dsl disk.  PHP you will need to install as you observed.  Download php-4-monkey-0.9.1.tar.gz from the extension repository.  Open the emelfm file manager and navigate to the file you downloaded.  Then highlight that file and press the MyDSL button in emelfm to load the extension.  This should set up the monkey.conf file to see where php is to run your scripts.  I believe you need to put your PHP scripts into the /opt/monkey/cgi-bin directory and web pages and graphics into the /opt/monkey/httdocs directory.

Start the monkey web server under the system-> daemons-> monkey-> start monkey menu.  Now turn your browser to 127.0.0.1 and you should see the monkey test page (or whatever you put in as index.html).

First of all, many thanks for the prompt answer which helped *lots*.

I didn\t know about emelfn. I was doing things in terminals :]
As it turned out, I didn't need to use the cgi-bin. Actuallly that directory is restricted-access, so I'm not sure how it's supposed to be used.
But putting php in /htdocs worked fine after I rememebered to restart the webserver ^.^


original here.