Active Topics

 


Reply
Thread Tools
hordeman's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#11
Count me in. I'd like .debs of lighttpd and PHP. Can you make those available for download?
 
EIPI's Avatar
Posts: 794 | Thanked: 784 times | Joined on Sep 2007 @ /Canada/Ontario/GTA
#12
I forgot about this thread - yes, I would be interested as well. I think gzip enabled in it would also be of benefit (to me at least).
__________________
Mobile Tablets Blog
Follow me on
Twitter

 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#13
Just a note, full Apache 2 with all of the modules is available in the Debian repos...

I've installed Apache so I can use the smb2www package, a (perl) web-based network surfer. Works fine.

One of these days, when I have some time, I want to try to set up a full LAMP stack on my tablet, and then see how fast it is as a server
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-10-15 at 21:34.
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#14
For all those who were asking I'll try to throw together a deb that has lighttpd along with PHP 5 prebuilt and ready to go in the next day or two when I get some time. I don't remember which modules specifically I had compiled when I initially did my build, but I'll double check and post up a link to the deb along with some instructions (though it should be pretty straight forward...).

As qole pointed out there's a full Apache build in the repos, but in my experience if you're just interested in serving up PHP content for your own local use Apache is massive overkill, but that's just my oppinion ;o)

Thanks,
-Rob
 

The Following 4 Users Say Thank You to jolouis For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#15
Yeah, but I'm all about massive overkill

OpenOffice anyone?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 14 | Thanked: 1 time | Joined on Feb 2008
#16
FWIW, a while back (pre Diablo) i had nginx and PHP-cgi working well. I just installed both and had to edit the config files, but it did work.
 
hordeman's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#17
Thanks, jolouis! Definitely want a lightweight web server for use only with PHP --- I'm looking forward to those .debs. Also, you mentioned that you compiled directly on the tablet; is there a link you can point me to so I can learn to do this myself?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#18
I've been thinking, what about a lightweight maemo replacement for the LAMP stack? Use SQLite instead of MySQL, and lighttpd instead of Apache...

A .deb that installs all the components and configures them all to work together... would be very cool!

It could be called ... hmmm... the Maelisp stack? maelisph?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#19
Sorry to be so long with this one guys, I got caught up with things at the end of the week there. Anyways, I thought the easiest thing to do right now is just one deb that contains both PHP and Lighttpd, already configured for each other and ready to go:
http://www.electronicproductonline.c....1.0_armel.deb

I make no guarantees as to compatibility/etc beyond being a webserver with PHP running, but if there are things that need to be tweaked/etc I'm open to doing some recompiling again. The package is quite big (about 10 mb when installed), with the vast majority of that being the PHP binary itself. I noticed that there had been requests for gzip support, and somebody mentioned SQLite, so I've included both those modules which in turn required a few other bits which makes PHP grow in filesize. Anyways, details:
This package contains:
- PHP 5.2.5 CGI
- Built in support for: SimpleXML, sessions, PDO, SQLite
- Modules included for: FTP, pcntl (Process control), Sockets, XML, zlib (gzip, etc)

- Lighttpd (latest version, the number escapes me at the moment)
- Modules for: Authentication, Aliases, CGI

Tested working on Diablo, it's very easy. Simply click the link, wait for application manager to open and install. Once done the webserver will be up and running, configured to start automatically at boot/etc. After closing app manager simply open the browser and type in the address:
127.0.0.1

If all works, you should get a nice PHP info page that gives you all the pretty details of your new Lighttpd/PHP install. The server is setup to store all files in /wwwPHP, so if you want to use a different storage folder either create a symlink, or edit the Lighttpd/PHP config files to change the path.

As for compiling on the tablets, I believe there's a development tools package up on one of the repositories now, but when I installed the build tools I just did a search of ITT here for "compile on device" and came across the step by step instructions as a thread somewhere...

Feedback/requests for change/etc are welcome of course )

And qole suggested, a complete package including SQLite would be pretty straight forward, it just requires SQLite to be added to what I've got right now... so if there's interest as long as it compiles without too much hassle I could probably toss that together...

Thanks,
-Rob
 

The Following 9 Users Say Thank You to jolouis For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#20
SQLite is already in Extras. You wouldn't need to add it to your package, just make your package depend on it (and then push your package into Extras, too ). Several packages (including Maemopadplus) use it.

I notice mysql-server is also in the chinook repository.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply

Tags
webserver php


 
Forum Jump


All times are GMT. The time now is 06:28.