Author Topic: Problems Starting Apache2 On Pdaxii13 V2  (Read 7784 times)

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« on: January 14, 2008, 06:11:44 am »
Hi,

I just installed on my SL-C3100 & pdaXii13v2:

-  pache2
-  php5
-  mysql

from meanies link:

Link


Starting apache with /usr/local/apache2/bin/.apachectl start

... I get the following error:


httpd:  Syntax error in line 53 of /usr/local/apache2/conf/httpd.conf:  Cannot load /usr/local/apache2/modules/libphp5.so
into server:  /usr/local/apache2/modules/libphp5.so: undefined symbol:  zend_qsort


Has anyone a idea?

Thanks
climber
« Last Edit: January 14, 2008, 06:13:21 am by climber »

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #1 on: January 31, 2008, 09:46:36 am »
Does nobody get apache2 and php5 installed and working on pdaXii13 v2 ???

I can't believe this! Maybe a zaurus geek can try this and helping me to get this working.

Thanks
climber

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Problems Starting Apache2 On Pdaxii13 V2
« Reply #2 on: January 31, 2008, 02:03:15 pm »
From googling it looks like it might need to be recompiled, look at this thread:
http://lists.horde.org/archives/dev/Week-o...626/020085.html
I too would like an uptodate working LAMP for pdaXrom

here is probably the easiest way to compile it: http://www.apachetoolbox.com/
Anyone one want to give it a try?
I'll see if I can find time to try compiling it on the weekend if no one else beats me to it.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #3 on: February 01, 2008, 03:37:35 am »
@Antikx

to go for sure I understand the information from your link correct.

1.) download php5 sources

2.) ./configure --with-apxs2=/usr/bin/apxs2 \
--with-gettext --with-dom --with-mcrypt \
--with-iconv --enable-mbstring=all --enable-mbregex \
--with-gd --with-png-dir=/usr --with-jpeg-dir=/usr \
--with-mime-magic=/usr/share/file/magic.mime \
--with-mysql --with-pdo-mysql \
--with-zlib-dir=/usr --with-readline

3.)  libtool --finish /usr/lib/apache2/modules/libphp5.so

4.) make && make install


If this is the wrong order please could you set them to the right one!


Thanks
climber

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Problems Starting Apache2 On Pdaxii13 V2
« Reply #4 on: February 01, 2008, 10:07:38 am »
 sounds like you know more then I do. Capn_Fish how does climber's post look?

Regarding php sources, you can download a 70+MB apachetools file that should contain all the sources and has a nice menu driven compile options.
I would recommend giving it a try.
« Last Edit: February 01, 2008, 10:08:49 am by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Problems Starting Apache2 On Pdaxii13 V2
« Reply #5 on: February 04, 2008, 01:28:02 pm »
how did you make out climber?
I haven't tried it yet, sorry.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Problems Starting Apache2 On Pdaxii13 V2
« Reply #6 on: February 04, 2008, 04:15:28 pm »
First check if the libphp5.so is in /usr and not /usr/local.

For that build process, no idea. I'm not familiar with LAMP stuff.

If you'd like updates to all of the LAMP stuff, I'd probably be willing to do it so long as there aren't a ton of deps that I'd have to build. Would somebody be willing to furnish links to the components' websites?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Problems Starting Apache2 On Pdaxii13 V2
« Reply #7 on: February 08, 2008, 11:42:39 am »
thanks cpan_fish
I still want to give this a try.
Just low on free time these days.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Problems Starting Apache2 On Pdaxii13 V2
« Reply #8 on: February 08, 2008, 12:26:29 pm »
Me too, hence looking for links and not doing it myself (I don't want to have to verify I have the right lib/app, etc.)
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

robertcloud

  • Newbie
  • *
  • Posts: 23
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #9 on: February 13, 2008, 10:00:52 pm »
I would also be very happy to see a working LAMP for pdaxrom.  I was hung up on my latest attempt to get things working.  I was able to get Apache2 running and serving a web page, but I couldn't get mysql running.  I believe I installed apache from http://www.tyrannozaurus.com/feed/beta3/feed/ and mysql from http://www.tyrannozaurus.com/feed/beta3/custom

I was using the stock pdaxrom, not meanie's.  what hung me up on the mysql was that I could never find mysql.sock anywhere on the system.  Also everything installed was in unstandard locations.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Problems Starting Apache2 On Pdaxii13 V2
« Reply #10 on: February 13, 2008, 10:07:18 pm »
Quote from: robertcloud
I would also be very happy to see a working LAMP for pdaxrom.  I was hung up on my latest attempt to get things working.  I was able to get Apache2 running and serving a web page, but I couldn't get mysql running.  I believe I installed apache from http://www.tyrannozaurus.com/feed/beta3/feed/ and mysql from http://www.tyrannozaurus.com/feed/beta3/custom

I was using the stock pdaxrom, not meanie's.  what hung me up on the mysql was that I could never find mysql.sock anywhere on the system.  Also everything installed was in unstandard locations.
Not what you are looking for maybe, but I have managed to install pocketworkstation on pdaxii13v2 and upgrade it to Etch. Possibly (if you have the space and the inclination) this might provide a more promising means of getting a LAMP stack?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #11 on: February 14, 2008, 01:59:01 am »
@adf

That sounds also intersting too and I could give it a try. I can't find any instructions to get it working on pdaXii13v2. Could
you write some lines how you get it working on pdaXii13v2?

Thanks
climber
« Last Edit: February 14, 2008, 02:29:33 am by climber »

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Problems Starting Apache2 On Pdaxii13 V2
« Reply #12 on: February 15, 2008, 02:17:09 am »
Quote from: climber
@adf

That sounds also intersting too and I could give it a try. I can't find any instructions to get it working on pdaXii13v2. Could
you write some lines how you get it working on pdaXii13v2?

Thanks
climber
I  just followed the instuctions at the pdaxrom pocketworkstation thread here (and at the pocket workstation site)  -search pocketworkstation on the pdaxrom section

I installed (as i use pdaxii13 full) in /usr/debroot-/user being on the MD

i did apt-get update/upgrade then changed the reopsitories to etch then did it again--then did upgrade

then it was a piece of cake...synaptic eve runs ok

sorry if this is vague- i set it up a while ago.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

robertcloud

  • Newbie
  • *
  • Posts: 23
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #13 on: February 18, 2008, 11:47:32 pm »
OK, I got the LAMP server up and running natively in pdaxrom and it is decently fast.  

I found everything needed at this feed
ftp://distro.ibiblio.org/pub/linux/distri...trib/desertrat/

so ipkg install mysql-server mysql-client apache

I ran into trouble with the PHP.  I first used the php5 module in the feed and was able to get it to work with apache after downloading a few more libraries.
Then I realized that php5 is not natively compatible with mysql.  if you want to use php5 with mysql you have to compile it using a specific command to add support.  
I had some trouble installing php4 from the tyrannozaurus feeds so decided to compile it myself.  

EDIT:  disregard what I said about this php5 module not having native mysql support.  It DOES have it as well as a few more useful modules.


I'm configuring a wordpress site on the zaurus right now and will be interested to see how that turns out.
« Last Edit: February 27, 2008, 08:52:58 pm by robertcloud »

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Problems Starting Apache2 On Pdaxii13 V2
« Reply #14 on: February 22, 2008, 03:28:36 am »
@robertcloud

did you use the same configure parameter as I wrote in this thread?
Could your write some instructions what you did to get it running. This would be nice!!!


Thanks
climber