PHP with Monkey


Forum: Other Help Topics
Topic: PHP with Monkey
started by: willsonw

Posted by willsonw on Aug. 29 2005,07:10
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.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.