Monkey + PHPBefore we begin with the intructions of configuring and installing PHP, we assume you already have Monkey installed on your system.It doesnt matter if you already have PHP installed running with Apache or another httpd, because you can install PHP in another directory it will be perfectly compatible.
# cd php-4.x.x # ./configure --prefix=/home/my_home/php/ # make # make install That will install PHP in your home directory. If you wish to add MySQL support, you have to add the option --with-mysql to the configure command, or any other option that you may might want to enable.
Afterwards run the following command:
In the file, we must define the mime type and the interpreter to process the PHP files, so you must add the following line:
With this defined, you can now process files with .php extentions. If you wish to add more extentions so they can be looked at the PHP, you must add the same line we wrote above with more extentions. Translated by Davidlohr Bueso and Pablo Humphreys |