kevinharper
October 30th, 2011, 08:39 PM
I installed DSL on a REALLY old computer. I want turn it into a web-server that runs internally, within my LAN.
DSL has Monkey Web Server built-in. I've configured it so that it starts when the computer boots up (I also set BetaFTP and SSH to start on boot).
I can add files to /opt/monkey-0.9.2/htdocs but I cannot get PHP files to display properly.
I installed the "php-4-monkey-0.9.1.tar.gz" package listed in the MyDSL Browser. After installing the package, I now have a php folder at /opt/ (this php folder wasn't there before the php package install).
If I create the following document:
<?php
phpinfo();
?>
and save it as /opt/monkey-0.9.2/htdocs/filename.php I see the source code instead of what the script should spit out.
It's been a while since I messed around with configurations and setting up web servers... What's my next step?
DSL has Monkey Web Server built-in. I've configured it so that it starts when the computer boots up (I also set BetaFTP and SSH to start on boot).
I can add files to /opt/monkey-0.9.2/htdocs but I cannot get PHP files to display properly.
I installed the "php-4-monkey-0.9.1.tar.gz" package listed in the MyDSL Browser. After installing the package, I now have a php folder at /opt/ (this php folder wasn't there before the php package install).
If I create the following document:
<?php
phpinfo();
?>
and save it as /opt/monkey-0.9.2/htdocs/filename.php I see the source code instead of what the script should spit out.
It's been a while since I messed around with configurations and setting up web servers... What's my next step?