Author Topic: "lamp" Stack  (Read 4847 times)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« on: April 01, 2006, 03:53:32 pm »
Until now I have been using Pocket Workstation for web development, but since more and more apps are now available natively for pdaXrom and the fact that Pocket Workstation takes up about 700MB of precious disk space I have decided to "rm -rf /mnt/hd/debian" and work on a pdaXrom replacement.

So far I have got Postgresql (8.1.3) and Apache (1.3.34) working. I'll be adding MySQL (most likely 4.x) and PHP (most likely 5.x).

My question to interested parties is:

what kind of extensions/modules you would like to see compiled into PHP?

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
"lamp" Stack
« Reply #1 on: April 02, 2006, 06:29:56 pm »
Quote
Until now I have been using Pocket Workstation for web development, but since more and more apps are now available natively for pdaXrom and the fact that Pocket Workstation takes up about 700MB of precious disk space I have decided to "rm -rf /mnt/hd/debian" and work on a pdaXrom replacement.

So far I have got Postgresql (8.1.3) and Apache (1.3.34) working. I'll be adding MySQL (most likely 4.x) and PHP (most likely 5.x).

My question to interested parties is:

what kind of extensions/modules you would like to see compiled into PHP?

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121400\"][{POST_SNAPBACK}][/a][/div]

Cool - aside from the obvious extensions (Postgres and Mysql), I also use IMAP quite a bit.
SL6000-L, RC12

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« Reply #2 on: April 10, 2006, 06:49:47 am »
Quote
Cool - aside from the obvious extensions (Postgres and Mysql), I also use IMAP quite a bit.

Just a quick update to let people know I'm still working on this  . Progress is slow, because I have to compile all the required extensions before I can incorporate them into PHP. The big stumbling block right now is that I don't know how to compile MySQL (4.x or 5.x), see this post. Otherwise these are the extensions done right now:
Code: [Select]
[PHP Modules]
bcmath
calendar
ctype
date
dom
exif
ftp
gd
hash
iconv
imap
libxml
mbstring
mcrypt
openssl
pcre
PDO
pdo_sqlite
pgsql
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

If I have missed any 'obvious' ones please let me know. So far I've only been compiling the PHP CLI module, next step is to do the Apache PHP module.

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
"lamp" Stack
« Reply #3 on: April 10, 2006, 11:46:29 am »
Quote
Quote
Cool - aside from the obvious extensions (Postgres and Mysql), I also use IMAP quite a bit.

Just a quick update to let people know I'm still working on this  . Progress is slow, because I have to compile all the required extensions before I can incorporate them into PHP. The big stumbling block right now is that I don't know how to compile MySQL (4.x or 5.x), see this post. Otherwise these are the extensions done right now:
Code: [Select]
[PHP Modules]
bcmath
calendar
ctype
date
dom
exif
ftp
gd
hash
iconv
imap
libxml
mbstring
mcrypt
openssl
pcre
PDO
pdo_sqlite
pgsql
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

If I have missed any 'obvious' ones please let me know. So far I've only been compiling the PHP CLI module, next step is to do the Apache PHP module.

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122479\"][{POST_SNAPBACK}][/a][/div]

I think PHP-GTK, can works nice on pdaXrom and OZ GPE
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« Reply #4 on: April 18, 2006, 01:21:51 pm »
I have finally compiled everything I need for a PHP with a reasonable selection of extensions, these being:

bcmath, calendar, ctype, date, dom, exif, ftp, gd, hash, iconv, imap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, Reflection, session, SimpleXML, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, zlib

Now I just need to package everything up. Before I put it into the contrib section I would like some volunteer tester(s). This being a lot of inter-related packages and libraries I would like to make sure at least one other person can get it running and sort out what the dependencies are.

So if anyone is interested, please reply to this (or PM me), then I will put the packages probably on rapidshare.de along with some instructions, the point being that if no-one is interested then it's not worth my while packaging everything up nicely     (that's the hardest part).

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« Reply #5 on: April 18, 2006, 01:24:19 pm »
Quote
I think PHP-GTK, can works nice on pdaXrom and OZ GPE
That would have to be a different project, for this I'm solely concerned with making a web development system.

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
"lamp" Stack
« Reply #6 on: April 18, 2006, 04:01:09 pm »
Quote
I have finally compiled everything I need for a PHP with a reasonable selection of extensions, these being:

bcmath, calendar, ctype, date, dom, exif, ftp, gd, hash, iconv, imap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, Reflection, session, SimpleXML, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, zlib

Now I just need to package everything up. Before I put it into the contrib section I would like some volunteer tester(s). This being a lot of inter-related packages and libraries I would like to make sure at least one other person can get it running and sort out what the dependencies are.

So if anyone is interested, please reply to this (or PM me), then I will put the packages probably on rapidshare.de along with some instructions, the point being that if no-one is interested then it's not worth my while packaging everything up nicely     (that's the hardest part).

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123657\"][{POST_SNAPBACK}][/a][/div]


Quote
Quote
I think PHP-GTK, can works nice on pdaXrom and OZ GPE
That would have to be a different project, for this I'm solely concerned with making a web development system.

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123658\"][{POST_SNAPBACK}][/a][/div]

Yeah! You maybe build a ipk for each LAMP libraries needed? (bc,gd,...) and off cource ipks for PHP5 APACHE and mySQL server ?
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« Reply #7 on: April 19, 2006, 03:54:42 am »
Quote
Yeah!
Does this mean you're willing to test it?    Please confirm, like I said it's really tedious untangling the my installation to sort out the various components into ipks for distribution and if no-one is interested I won't bother.

Quote
You maybe build a ipk for each LAMP libraries needed? (bc,gd,...) and off cource ipks for PHP5 APACHE and mySQL server ?
I didn't know what my strategy was at the beginning and hence had to recompile PHP several times. In the end I decided that:

- where it makes sense use the bundled PHP libraries
- where possible make shared extensions

hopefully this will cut down on the number of "hard-coded" dependencies.

However there will not be separate ipks for the PHP extensions (too much work), but because they're compiled as shared you can choose whether or not to load them at runtime (saves a bit of memory). But of course I can provide the tarball for the "just installed" directory tree for anyone who wishes to create more discrete ipks.

-- cheers
« Last Edit: April 19, 2006, 04:02:00 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

chiark

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://www.chiark.com
"lamp" Stack
« Reply #8 on: April 20, 2006, 04:43:47 am »
I'm interested as I'm looking to learn LAMP in order to migrate away from ASP which I am currently using...

I'm wondering whether I should really be looking at Ruby on Rails.

If you make the ipks, I will install and give you feedback.  Any pointers to LAMP "getting started" articles that are good/well written/helpful would be exceptionallly appreciated too!

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
"lamp" Stack
« Reply #9 on: April 21, 2006, 04:05:36 pm »
Right I've managed the package up most of the parts (I did have PDFLite compiled but must've stupidly accidently deleted it because I can't find it now ).

I've uploaded a tarball containing the individual packages to:

http://rapidshare.de/files/18598306/lampst...060422.bz2.html

I had been planning to include some instructions but I really won't have time until mid next week as I'm attending an exhibition for the next 5 days. But if you've used the software before then it ought to be pretty straightforward if you RTFMs

-- cheers
« Last Edit: April 21, 2006, 04:06:01 pm by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM