Re: Error starting Apache 1.3.22 with PHP 4.0.6.
| From: | Kacey A. Murphy | Date: | Wed, 17 Oct 2001 07:18:42 +0000 |
| Subject: | Re: Error starting Apache 1.3.22 with PHP 4.0.6. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71301@lists.php.net to get a copy of this message | ||
Just out of curiousity when I run MAKE INSTALL
Laste couple lines says
/home/packages/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
/usr/sbin/ao
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
apxs -q <query> ...
apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
[-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
<files> ...
apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/home/packages/php-4.0.6'
make: *** [install-recursive] Error 1
[root@ns php-4.0.6]#
Is this a problem
"Rasmus Lerdorf" <rasmus@php.net> wrote in message
news:Pine.LNX.4.33.0110170015330.1787-100000@rasmus.php.net...
> Add --with-zlib to your PHP configure line and rebuild.
>
> rm config.cache
> make clean
> ./configure --with-zlib --with-apxs ... and your other flags ...
> make
> make install
>
> -Rasmus
>
> On Wed, 17 Oct 2001, Stefen Lars wrote:
>
> > Hello all
> >
> > I have just compiled and installed Apache 1.3.22 (with module support)
onto
> > a freshly installed Red Hat 7.1. I have also compiled and installed PHP
> > 4.0.6.
> >
> > I have edited the httpd.conf script so that PHP parses .php files and
also
> > loads the PHP module like this:
> >
> > # Example:
> > # LoadModule foo_module libexec/mod_foo.so
> > LoadModule php4_module libexec/libphp4.so
> >
> > However, when I check the configuration file with
> >
> > /usr/local/apache/bin/apachectl configtest
> >
> > I get the following error message:
> >
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
> >
> > Likewise, when I try to start Apache, I get the same error message. This
> > message does not make sense to me :-(
> >
> > Line 205 is the LoadModule line above.
> >
> > I have installed this combination of web server and PHP many times on
many
> > different servers, but have never come across that particular error
message.
> >
> > Would someone be able to explain to me what is going on and how I can
> > successfully load the libphp4.so module?
> >
> > Thank you very much in advance
> >
> > Stefen Lars
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
> >
> >
> >
>