problem solved!!! thanks for your help Dave :D

Cheers
Peter

> -----Original Message-----
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 29 July 2002 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: mod_php4.c errors on Apache Complie
>
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> says...
> > Howdy,
> >
> > I've successfully complied PHP and the straight cigfiguration of apache
> > 1.3.26 but when i go to configure php as a module in apache using
> >
> > #./configure --enable-module=max --enable-shared=max
> --activate-module=src/m
> > odules/php4/libmodphp4.a
> >
> > i get the following error
> >
> > mod_php4.c:28:18: zend.h: No such file or directory
> <SNIP more of the same>
> >
> > does any one have any idea's on why it is and what i can do about it?
>
> I was under the (possibly wrong) understanding that .a libraries are
> static, not dynamically loadable.
>
> The way I usually get apache/php as a DSO is to compile apache
> first, with
> --enable-modules=max --enable-shared=max blah blah whatever else you
> need (but not -activate-module)
>
> Then copmile php with whatever config options you need _and_
> --with-apxs=/full/path/to/apxs
> --with-apache-conf=/dir/where/your/apacheconf/files
>
> Last config item might be slightly different - can't remember exactly :-)
> Try ./configure --help |grep apache for the correct syntax.
>
> Then when you do make install for php it will install libphp4.so in the
> correct place and also amend your httpd.conf to activate php as DSO. The
> nyou just (re)start apache and off you go.
>
> Cheers
> --
> David Robley
> Temporary Kiwi!
>
> Quod subigo farinam
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to