Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Mar 16, 2005 4:12 pm 
Offline
Senior Newbie

Joined: Wed Oct 06, 2004 9:16 pm
Posts: 9
WLM: mikki_11@hotmail.com
Yahoo Messenger: mangups
Location: US
my setup: redhat small (setup as in guide in forum -"linux, tips, trick, tutrorial)

I want to setup up a phpgroup. The closet thing i found was www.phpgroupware.org.

To get this to work the pre-requsites are as follow:

working MySql, Apache, PHP with at least mysql and imap support, and IMAP.

First things first.
Since the most flexible way Apache with PHP can be installed is as an Apache module ...

I installed apache 2.0 with DSO ...
everything fine ... did well

Next i want ahead to install php 4.3.10 as a modukle and here is what i get :

Quote:
./configure --with-mysql \
> --with-apxs=/usr/local/apache/bin/apxs
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2
[root@li10-60 php-4.3.10]#



does anyone how to go ahead and fix it.....

i looked around could not find answers...


Top
   
 Post subject:
PostPosted: Wed Mar 16, 2005 4:52 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Change your configure command:
Code:
./configure --with-apxs2=/path/to/your/apxs --with-mysql


i.e. use '--with-apxs2=', not '--with-apxs=', and check that the path you specify after the = is the correct one.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu Mar 17, 2005 3:59 pm 
Offline
Senior Newbie

Joined: Wed Oct 06, 2004 9:16 pm
Posts: 9
WLM: mikki_11@hotmail.com
Yahoo Messenger: mangups
Location: US
i figured it out .. after hit and trail soon afterwards but thanks u so much for your help ..
Works now ...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group