I've become quite fond of getting binaries from DSL. They usually work just fine in Puppy and don't take much work to get running. I used gftp and went to the ibiblio mydsl section.
/pub/Linux/distributions/damnsmall/mydsl/system
I scrolled down until I found php-4-monkey-09. I selected the package and transferred it to my HD. Note that there are several files with almost the same name-choose the one that is largest. I then untarred it to /mnt/data/Share. This could be placed anywhere, however.
By default this will create /opt in the location you send it to. I opened /mnt/data/Share/opt and found two directories, /monkey and /php. I then moved the /php directory to /mnt/data/Share. Once again this can be placed anywhere in your filesystem.
Next I edited my monkey config file to show it where to find php. Here are the appropriate lines with my addition.
Code: Select all
# --------------------
# AddScript application/x-httpd-php /home/my_home/php/bin/php php
#
# The above example defines that whatever file, it's extension being
# "php", should be processed through by "/home/my_home/php/bin/php"
#
AddScript application/x-httpd-php /mnt/data/Share/php/bin/php php
#AddScript application/x-httpd-php /home/my_home/php/bin/php php
#AddScript application/x-httpd-php /usr/bin/php php3
Code: Select all
AddScript application/x-httpd-php /root/my-applications/php/bin/php php
I hope this helps someone else out. I tried to show every step. This is not the only way to do it but it worked well for me and kept me from having to compile.
Nathan