Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Adding PHP to Monkeyweb?, Description of the trouble encountered.< Next Oldest | Next Newest >
fluxus Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 04 2005,20:32 QUOTE

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.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Nov. 05 2005,14:49 QUOTE

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).
Back to top
Profile PM 
fluxus Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 10 2005,03:02 QUOTE

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 ^.^
Back to top
Profile PM 
2 replies since Nov. 04 2005,20:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Adding PHP to Monkeyweb?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code