Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 24 May 2015, 11:40
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Monkey WebServer- Need to install few extras.
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 01 Jul 2005
Posts: 214

PostPosted: Sun 06 Nov 2005, 00:58    Post_subject:  Monkey WebServer- Need to install few extras.  

How do I install php in the monkey webserver?
(Note; I tried that other webserver, just down below a few threads, and it was EXTREMELY confusing) I like Monkey becaues it just works.

All I need now is php support, and a MYSql database.
How would I go about doing that?
Back to top
View user's profile Send_private_message 

Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sun 06 Nov 2005, 06:06    Post_subject:  


Install the PHP-Dotpup from this thread:

Now edit /root/monkey/conf/monkey.conf

There is a section with PHP.
Add these lines:
AddScript application/x-httpd-php /usr/local/wwwroot/php/bin/php php
AddScript application/x-httpd-php /usr/local/wwwroot/php/bin/php php3

Stop and start monkey.
Now click on the Link: PHP: phpinfo(); in the Monkey-site in Mozilla.
You might have to reload it in Mozilla, if you clicked it before.

Now you should see
PHP works!

So, it works, but obviously wrong.
In the index.php, they forgot to set a "<head></head>".
This usually should not matter, but here it does.

So replace index.php with this file:

// Your PHP support is not working...
   echo "PHP works!";
system("ls -al");


Now you should see a directory-listing when you reload.

Concerning MySQL:
As there is no Dotpup yet (except xampp), you will have to try to get it from another distro, compile it yourself, or rip it from xampp.
As the MySQL-Setup can be somewhat annoying, I don't plan to release a dotpup.

The php-dotpup uses 9 MB of space.
Apache with mod_php uses 18 MB and is faster.
If you could tell me, what confused you using Apache, I might help you.

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0645s ][ Queries: 12 (0.0219s) ][ GZIP on ]