RE: [PHP-INST] RE: Problem loading php-module as DSO into Apache httpd
| From: | Tib | Date: | Thu, 18 Apr 2002 21:01:20 +0000 |
| Subject: | RE: [PHP-INST] RE: Problem loading php-module as DSO into Apache httpd | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6675@lists.php.net to get a copy of this message | ||
Did you use the --with-apxs2 option? I know it's in 4.1.2 and 4.2.0rc4
<EOL>
Tib
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4.
>
> Todd
>
> -----Original Message-----
> From: Tib [mailto:tib@tigerknight.org]
> Sent: Thursday, April 18, 2002 1:50 PM
> To: Todd Mortensen
> Cc: 'Poetsch, Michael'; Php-Install (E-mail)
> Subject: Re: [PHP-INST] RE: Problem loading php-module as DSO into Apache
> httpd
>
>
>
> I had a similar problem with this. the solution I was able to come up with
> was that (i'm guessing you're using apache 2 since this is the same error
> I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
>
> Try it with that. I am having issues with php4.2.0 cr4, but the compile
> went clean and the module isn't complaining at least.
>
> On Thu, 18 Apr 2002, Todd Mortensen wrote:
>
> > I tried what you suggested. I am also usingt he gnu binutils and gcc
> > 3.0.3.
> >
> > Here is how I am trying to configure php. I can get apache to compile
> > and start ok. But the php causes a problem each time.
> >
> > todd@svlecs01:~/src/php-4.1.2$cat config.nice
> > #! /bin/sh
> > #
> > # Created by configure
> >
> > './configure' \
> > '--with-mysql=/usr/local/mysql' \
> > '--enable-trans-sid' \
> > '--with-apxs' \
> > '--with-mm=/usr/local/lib' \
> > "$@"
> > todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms:
> > referenced symbol not found /usr/local/apache/bin/apachectl start:
> > httpd could not be started
> >
> > And I know these ap_* symbols are from apache but I don't know why
> > they are not being linked properly.
> >
> > I will try again and repost any further findings. Thanks for the
> > updates.
> >
> > Todd.
> >
> >
> >
>