Notices

PDA/AXIM Newbies Don't be afraid to ask a question.

Reply
 
LinkBack Thread Tools
Old 09-25-05, 05:12 AM   #1 (permalink)
Aximsite Minor League
 
Join Date: Sep 2005
Posts: 138
Thanked 0 Times in 0 Posts
AMP (apache mysql php) on x51v

is there a way to get apache (or another server) and mysql and php on x51v or am i way ahead of my time?
Majdaa is offline   Reply With Quote
Sponsor Ads
Old 09-25-05, 06:07 AM   #2 (permalink)
Aximsite All Star
 
transcout's Avatar
Elite Member
 
Join Date: Sep 2004
Location: UK
Posts: 975
Thanked 0 Times in 0 Posts
Nope, I'm fairly sure there isn't even one of those, let alone all three. WM can only handle very limited memory, and limited amounts of processes, so at the moment at least, it's not really suitable for running any sort of server on.

Last edited by transcout; 09-29-05 at 03:04 PM.
transcout is offline   Reply With Quote
Old 09-25-05, 07:04 AM   #3 (permalink)
Aximsite Major League
 
Join Date: Sep 2004
Posts: 443
Thanked 0 Times in 0 Posts
Not exactly a n00b question. ;)
__________________
Mac User? Get
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to make your life easier!
magnolia is offline   Reply With Quote
Old 09-25-05, 10:41 AM   #4 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 48
Thanked 0 Times in 0 Posts
If you've got some programming knowledge, you could use the Microsoft WM5 SDK head over to the Apache Site, take the source (Open Sourced program) from the Windows version of Apache and try to port it. Apache itsself requires very little RAM (I ran it on a Linux Box with 32mb Memory and a 233 pentium). Also, try searching on SourceForge.net for a port, they may have one in the works.

MySQL and PHP however require massive gobs of memory, and probibly wouldn't be able to be ported.
ChanceDaTiger is offline   Reply With Quote
Old 09-25-05, 02:00 PM   #5 (permalink)
Aximsite Minor League
 
Join Date: Sep 2005
Posts: 138
Thanked 0 Times in 0 Posts
eh, i only know php, javascript, css and html, so that won't help a lot. thanks for the comments guys...i guess i'll just look for a good editor...
Majdaa is offline   Reply With Quote
Old 09-26-05, 10:44 AM   #6 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 71
Thanked 0 Times in 0 Posts
Originally Posted by Majdaa
is there a way to get apache (or another server) and mysql and php on x51v or am i way ahead of my time?
I am trying to get Vieka eSQL to work on my X30 and the PicoWebServer
as well (not to mention perl).

Its still early days yet as I am still struggling with the PDA's
lack of decent editor and unfamiliar user interface.

I did come across people working on Apache for PDA but it all
looked too complex to me to get it running.

Jason
jason.drew is offline   Reply With Quote
Old 09-29-05, 08:47 AM   #7 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 71
Thanked 0 Times in 0 Posts
Apache

Originally Posted by Majdaa
is there a way to get apache (or another server) and mysql and php on x51v or am i way ahead of my time?
I have just got Apache installed on my X30. It early days, I have managed
to get it to run (which took a bit of fiddling) but thats it so far.

The picowebserver could only serve static web pages which was no good for me.

If you want Apache go to

http://www.rainer-keuchel.de/software.html

I'll be interested to know how you get on.

Jason
jason.drew is offline   Reply With Quote
Old 09-29-05, 03:06 PM   #8 (permalink)
Aximsite All Star
 
transcout's Avatar
Elite Member
 
Join Date: Sep 2004
Location: UK
Posts: 975
Thanked 0 Times in 0 Posts
Wow.. Apache for PocketPC looks nice.. it's just what I was looking for (a way to share files between two wifi PPCs). Can you post your httpd.conf or whatever else you changed to get it to work? I have it running, but it doesn't want to bind to a real IP address, and whem i try to connect to it in PIE, i get 'page could not be found', and in Apache log window:

72cf00ce: Connection from 127.0.0.1 closed.
rcv: error 10054.

Any ideas?
transcout is offline   Reply With Quote
Old 09-29-05, 03:29 PM   #9 (permalink)
Aximsite Minor League
 
Join Date: Sep 2005
Posts: 138
Thanked 0 Times in 0 Posts
thanks for the responses guys....i don't know a lot about apache specifically, so i wouldn't know how to fiddle around with it.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Majdaa is offline   Reply With Quote
Old 09-30-05, 03:30 AM   #10 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 71
Thanked 0 Times in 0 Posts
Originally Posted by Majdaa
thanks for the responses guys....i don't know a lot about apache specifically, so i wouldn't know how to fiddle around with it.

Join the club! I am still finding my feet. I managed to get it working
yesterday just simply serving a web page locally. My plan is to link
through a web page to Apache which launches perl CGI scripts that access a
SQL database. Convoluted I know but I have written a little web database
interface that I use on my laptop that I want to get on my X30.

(Getting on soap box)
I decided that I would actually try to use my Axim for something useful
rather than playing games, listening to MP3's or working out when my
next colonic irrigation is scheduled.(No offence intended)

I am currently investigating getting the perl DBI module installed into
the perl I have setup. I will check some of the developer lists.
I'm happy to hear if anyone else has solved these problems.

Jason
jason.drew is offline   Reply With Quote
Old 10-01-05, 04:52 PM   #11 (permalink)
Aximsite All Star
 
transcout's Avatar
Elite Member
 
Join Date: Sep 2004
Location: UK
Posts: 975
Thanked 0 Times in 0 Posts
Can you post exactly what you did to get apache to work?
I've tried everything, and I keep getting this same error!
transcout is offline   Reply With Quote
Old 10-03-05, 03:40 AM   #12 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 71
Thanked 0 Times in 0 Posts
Originally Posted by transcout
Can you post exactly what you did to get apache to work?
I've tried everything, and I keep getting this same error!

If I knew exactly what I did I'd tell you. However, from my limited
knowledge it sounds like it could be one of a few things. This is
what I did when setting up the httpd.conf file

1. First specify your server name. Call it anything but make sure
if you call it anything apart from 127.0.0.1 that your PDA is actually
called that too (Settings->About->Device-ID)

2. You need to tell Apache where to find the document root (a directory
for your html) where it will look for index.html. You don't need to put a
'/' at the end of the directory but make sure the whole expression is
in quotes if it has spaces in it i.e "/Storage Card/web_pages"

3. There seems to be another section refering to the document root which
defines the directory and sets permissions. Again, make sure its in
quotes and you don't need a '/' at the end.

4. Make sure you have a /log directory under the main Apache directory.
It wants to put logs there, which are useful when it doesn't work.

5. Make sure you have an index.html for it to serve in the right place.
You can change this to any name you want in the setup file.


I have managed to get it to run some cgi scripts which is another part of
the setup. Perhaps get it serving static pages first and then move
on from there.

If you have done all that and it still doesn't work then its web surfing
on Apache for you. Try looking at the logs, they may be helpful.

Do you know how to get the DBI module installed into perl?

Jason
jason.drew is offline   Reply With Quote
Old 10-03-05, 06:06 AM   #13 (permalink)
Aximsite Elite
 
Rishad's Avatar
Addicted Member
 
Join Date: Aug 2005
Location: Vancouver, BC
Posts: 3,677
Device: iPhone 2G (OS 3.1)
Carrier: City Fido
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Bronze Member Admin Medal Aximsite Contest Winner Top Notch MyPDA Red Cross 
Total Awards: 5

http://www.microsoft.com/sql/ce/default.mspx

I have it on my Ax for some simple queries on an existing db.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

.
.
.
.
.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.




To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Rishad is offline   Reply With Quote
Old 10-03-05, 06:29 AM   #14 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 71
Thanked 0 Times in 0 Posts
Originally Posted by akheron
http://www.microsoft.com/sql/ce/default.mspx

I have it on my Ax for some simple queries on an existing db.

?? This seems to be the SQL Server CE web site (which doesn't seem
to want to guide you to a useful download Step 6 "Obtain the SQL Server CE
version 2.0 installation files." Duh?).

Is the Perl module on this page somewhere?

Jason
jason.drew is offline   Reply With Quote
Reply

Tags
amp, apache, mysql, php, x51v

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:05 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC