myDSL Extensions (deprecated) :: getting php.tar.gz to work with monkey
how can i make php.tar.gz work with monkey web server? i tried tar -C / -zxvf php.tar.gz and it copied fine, but how can i get it working?
thanks ico2ico2, When I tried it, I made files for web pages and put then in the /opt/monkey/htdocs directory. Edit the following file and call it test.php:
Code Sample
<html> <body>
<?php
print ("Look at that, PHP works!");
?>
</body> </html>
Run it by viewing localhost/test.php in Dillo or whatever. Also try this one which prints out all kinds of neat info:
Code Sample
<body>
<?php
phpinfo();
?>
</body> </html>
For a nice tutorial look at PHP from the ground up which is on webmonkey (no relation to the monkey server in DSL).i tried that but it didn't work, worked fine for html but just displayed the text of php files, i will have another try.the problem was that i started monkey before i installed php, all fixed now, thanks.Was money running when you loaded the php.tar.gz file? If so you might need to stop it and start it again so the monkey knows it's there.Next Page...
original here.