On Tue, 25 Jun 2002, Rasmus Lerdorf wrote:

> Did you follow the INSTALL file instructions carefully step by step?  If
> so, where are things going wrong?

Yes indeed.

Where things go wrong depends heavily upon which method I use to compile
PHP...

If I use --with-apxs, I am able to produce a libmodphp4.so (or something
of that nature).  When I start Apache, it complains that the API used by
the .so is 'strange', and refuses to load it.

If I use --with-apache, and point it to the Apache source directory, I
have to go through some Hurculean tasks to get apache to compile (mainly
because includes and libraries that are needed when compiling in the PHP
module aren't in the Makefiles..., and I have to modify mod_php.c
because for some reason Apache wants the object to be named
modphp_module, rather than php_module *sigh* )...
Anyway, I am able to get it all compiled, and then I get confused 'cause
there is an 'AddModule modphp_module.c (or something like that) in the
httpd.conf file, but no LoadModule (which I guess is good since this
approach didn't produce an 'so' file.  However, when I start Apache I get
an error saying that the module can't be added because there is no
'LoadModule' directive.

Sooo... that's the long story.  I'd like to use 4.2.1, but I can't see
how.

On the upside, however, I was able to get everything to work just fine
with 4.2.0 ;-)

Thanks for the response, and please let me know if you have any
suggestions, of if I can be of some help in filing/fixing any associated
bugs.

-- 
Steighton Haley                       [EMAIL PROTECTED]

"Outside of a dog a book is man's best friend...
inside of a dog it's too dark to read!" -Groucho Marx


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

Reply via email to