I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4. Todd
-----Original Message----- From: Tib [mailto:[EMAIL PROTECTED]] 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. > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php