Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


apache 2.0 with DSO ----- php 4.3.10 problems....

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
StarGazer



Joined: 06 Oct 2004
Posts: 9
Location: US

Posted: Wed Mar 16, 2005 3:12 pm    Post subject: apache 2.0 with DSO ----- php 4.3.10 problems....  

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...
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 481
Location: Netherlands

Posted: Wed Mar 16, 2005 3:52 pm    Post subject:  

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.
Back to top  
StarGazer



Joined: 06 Oct 2004
Posts: 9
Location: US

Posted: Thu Mar 17, 2005 2:59 pm    Post subject:  

i figured it out .. after hit and trail soon afterwards but thanks u so much for your help ..
Works now ...
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1