Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: getting php.tar.gz to work with monkey< Next Oldest | Next Newest >
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Aug. 15 2004,16:06 QUOTE

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
ico2


--------------
ico2
Back to top
Profile PM MSN 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 15 2004,17:16 QUOTE

ico2, 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).
Back to top
Profile PM 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Aug. 15 2004,17:21 QUOTE

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.

--------------
ico2
Back to top
Profile PM MSN 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Aug. 15 2004,17:27 QUOTE

the problem was that i started monkey before i installed php, all fixed now, thanks.

--------------
ico2
Back to top
Profile PM MSN 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 15 2004,17:28 QUOTE

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.
Back to top
Profile PM 
8 replies since Aug. 15 2004,16:06 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: getting php.tar.gz to work with monkey

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code