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: PHP with Monkey, Getting PHP to work with Monkey< Next Oldest | Next Newest >
willsonw Offline





Group: Members
Posts: 1
Joined: Aug. 2005
Posted: Aug. 29 2005,07:10 QUOTE

I have just managed to get PHP4 to work with Monkey, and wanted to share my experiences so that anyone wanting to try this does not have to reinvent the wheel. I also searched these forums and apparently there wasn't much guidance (or at least I wasn't smart enuff to find it) on how to get PHP to work.

Here goes.  
1. Download PHP-4-monkey-0.9.1 from MyDSL.
   Choose System fm the "Download Extension Panel".

2. Open Emelfm to see where DSL installs the php.
   On my system (DSLinux from within Windows), it
   was /ramdisk/opt/php.

3. Edit the file /ramdisk/opt/monkey-0.9.1/conf/monkey.conf
   In the section labelled AddScript, add the following:
AddScript application/x-httpd-php  /ramdisk/opt/php/bin/php php

... And you are done.

Restart Monkey and try to access a file from browser, with contents such as <?php phpinfo();  ?>
Yes, it is that simple.

Hope this helps.
Back to top
Profile PM 
0 replies since Aug. 29 2005,07:10 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: PHP with Monkey

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