Active Topics

 


Reply
Thread Tools
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#31
Sorry I've been caught up with other projects lately and I just flashed my development tablet into Diablo oblivion so I've got to re-install the dev tools on it (hopefully in the next few days?).

What exactly is required to compile PHP with sqlLite3 instead of sqlLite2? I don't remember seeing any compile directives for that, but I could be wrong...

Thanks,
-Rob
 
Posts: 47 | Thanked: 10 times | Joined on Jan 2008 @ UK
#32
Anyone had any luck with getting lighthttpd to run as the user nobody insted of root like it does out the box.

Since I have been useing the N800 for a webserver now an then I would much rather not have it running as root, when I tel it to run as nobody I get a error an then it closes down.
 
Posts: 8 | Thanked: 2 times | Joined on Feb 2008
#33
@jolouis:

Thanks a lot for the package! It saved my life
 

The Following User Says Thank You to gklka For This Useful Post:
Posts: 29 | Thanked: 7 times | Joined on Nov 2008 @ France
#34
Ok, i just come in this thread.

I tested php5 + nginx + sqlite in native Maemo environment, but that wasn' sufficient for me.

I think php5-cgi package with mysql support would be very nice...
But i really needed a lamp server running on my N810, as a webdev.

As an alternative, i installed :
- easy debian turbo-charged edition
- in the chroot environment, i installed package "phpmyadmin"
#apt-get install phpmyadmin
which installed all needed stuff : apache2+php5+mysql.

So i run the servers after chrooting each time i restart (twice a month) my tablet :
- /etc/init.d/apache2 start
- /etc/init.d/mysql start

And, when i'm back in microb, browing http://127.0.0.1/phpmyadmin/ this works !!!
could install typo3 for example.

I know it's quite "huge" but i don't have big slowness.
Having a such environment (php5 mysql support) would be nice, even with lighttpd or nginx, but i couldn't find how to cross-compile php5 on Maemo OS2008...
 

The Following 2 Users Say Thank You to benohit For This Useful Post:
EIPI's Avatar
Posts: 794 | Thanked: 784 times | Joined on Sep 2007 @ /Canada/Ontario/GTA
#35
@benohit: Interesting, I'll have to reinstall qole's debian turbo and try this out.
Do you have the chroot terminal window open for the servers to be functional, or can the windows be closed down after restarting the server daemons?
__________________
Mobile Tablets Blog
Follow me on
Twitter

 
Posts: 29 | Thanked: 7 times | Joined on Nov 2008 @ France
#36
@EIPI : keeping terminal open isn't necessary ! daemons are running, because it's daemon, you can close chrooted terminal
moreover, i installed "bluefish" in order to edit web html & php & css pages,...

i made a script in debian :
#nano /usr/local/sbin/lamp_start.sh :
_______________
#!/bin/bash
/etc/init.d/apache2 start
/etc/init.d/mysql start
_______________
then
#chmod u+x /usr/local/sbin/lamp_start.sh

back in Maemo,
you can put in /etc/init.d/rcS or something like this, before exit 0 at the very end of the file :
________________
...

sudo debian lamp_start.sh

exit 0
________________
 

The Following User Says Thank You to benohit For This Useful Post:
bizshop's Avatar
Posts: 98 | Thanked: 8 times | Joined on Apr 2007 @ Port Angeles, WA
#37
benohit,

Do I need to install a repository?

Here is what I get:

[root@Debian: /]apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package phpmyadmin
 
Posts: 29 | Thanked: 7 times | Joined on Nov 2008 @ France
#38
@bizshop :

as i said earlier in this thread, you have to follow these steps :

1 / Install easy debian turbo-charged edition
2 / Install phpmyadmin in a chrooted debian terminal
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#39
Originally Posted by bizshop View Post
benohit,

Do I need to install a repository?

Here is what I get:

[root@Debian: /]apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package phpmyadmin
Have you done an "apt-get update" first? That's probably your problem.
__________________
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!
 
bizshop's Avatar
Posts: 98 | Thanked: 8 times | Joined on Apr 2007 @ Port Angeles, WA
#40
Thanks to both qole and benohit, got phpmyadmin installed, but I have no mysql in the /etc/init.d/ directory. Trying to search all directories to see if mysql got installed or not, but no success yet. Tried ap-get install mysql-server and got out of space on device error
 
Reply

Tags
webserver php


 
Forum Jump


All times are GMT. The time now is 08:48.