OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Problems Starting Apache2 On Pdaxii13 V2
climber
post Jan 14 2008, 03:11 AM
Post #1





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



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
Go to the top of the page
 
+Quote Post
climber
post Jan 31 2008, 06:46 AM
Post #2





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



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
Go to the top of the page
 
+Quote Post
Antikx
post Jan 31 2008, 11:03 AM
Post #3





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



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.
Go to the top of the page
 
+Quote Post
climber
post Feb 1 2008, 12:37 AM
Post #4





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



@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
Go to the top of the page
 
+Quote Post
Antikx
post Feb 1 2008, 07:07 AM
Post #5





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



smile.gif 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.
Go to the top of the page
 
+Quote Post
Antikx
post Feb 4 2008, 10:28 AM
Post #6





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



how did you make out climber?
I haven't tried it yet, sorry.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Feb 4 2008, 01:15 PM
Post #7





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



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?
Go to the top of the page
 
+Quote Post
Antikx
post Feb 8 2008, 08:42 AM
Post #8





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



thanks cpan_fish
I still want to give this a try.
Just low on free time these days.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Feb 8 2008, 09:26 AM
Post #9





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



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.)
Go to the top of the page
 
+Quote Post
robertcloud
post Feb 13 2008, 07:00 PM
Post #10





Group: Members
Posts: 23
Joined: 24-October 04
Member No.: 5,179



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.
Go to the top of the page
 
+Quote Post
adf
post Feb 13 2008, 07:07 PM
Post #11





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(robertcloud @ Feb 13 2008, 06:00 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.

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?
Go to the top of the page
 
+Quote Post
climber
post Feb 13 2008, 10:59 PM
Post #12





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



@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
Go to the top of the page
 
+Quote Post
adf
post Feb 14 2008, 11:17 PM
Post #13





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



QUOTE(climber @ Feb 13 2008, 09:59 PM) *
@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 smile.gif

sorry if this is vague- i set it up a while ago.

Go to the top of the page
 
+Quote Post
robertcloud
post Feb 18 2008, 08:47 PM
Post #14





Group: Members
Posts: 23
Joined: 24-October 04
Member No.: 5,179



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.
Go to the top of the page
 
+Quote Post
climber
post Feb 22 2008, 12:28 AM
Post #15





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



@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

Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2013 - 04:27 AM