Hi there,

Till now I have always compiled and used PHP as an static module with
Apache..
For the experience and to make it a little easier to compile different PHP
packages I want to
use PHP as an dynamic module..

Reading the documentation this seems easy...

First I got apache 1.3.19 and ran:
 ./configure --target=/var/apache --enable-module=so
Compiled and did a make install

Did a ./httpd -l in the /var/apache/bin directory and got:
Compiled-in modules:
-- Cut out other listed modules --
  mod_so.c
suexec: disabled; invalid wrapper /var/apache/bin/suexec

Looks great ...

Then I got PHP-4.04pl and ran:
./configure --with-mysql --with-apxs --with-pdflib
After starting I get the error:
checking for AOLserver support... no
checking for Apache module support via DSO through APXS...
./configure: apxs: command not found
Sorry, I was not able to successfully run APXS.  Possible reasons:
1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.
configure: error: ;

Well, O.K, /var/apache/bin isn't a place PHP will probably look, so I run it
again with:
 ./configure --with-mysql --with-apxs=/var/apache/bin/apxs --with-pdflib

And then I got the error:
checking for Apache module support via DSO through APXS...
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
Sorry, I was not able to successfully run APXS.  Possible reasons:
1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.
configure: error: ;

What is my problem: It looks as if apxs is found and that PHP configure
tries to invoke it..
Looks like PHP configure needs to add a flag.. ??
Am I doing something wrong, or is this some king of 'changed' feature in
Apache 1.3.19??

I have Perl installed... Also I am running everything on a Redhat 6.2
machien..

Thanks for all help..

Bye Bye
David


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to