Re: Has this ever worked?

From: Date: Sun, 11 Jul 1999 00:28:14 +0000
Subject: Re: Has this ever worked?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-8313@lists.php.net to get a copy of this message
On Sat, Jul 10, 1999 at 08:11:32PM -0400, Rasmus Lerdorf wrote: > Guys, has a static PHP Apache module ever worked in a server with all > shared modules? > > ie. > > ./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a --enable-shared=max > > Because this combination currently breaks badly. For one thing, Sascha's > recent --with-shared-apache changes in libphp3.module.in breaks things > because $LDFLAGS_SHLIB ends up getting passed to ld directly and ld > expects to see -rpath and not -Wl,-rpath as we are sending it right now. That's true for php4, but not for php3. At least it works for me. Configuring with --with-mysql --enable-shared-apache produces the following libphp3.module: Name: php3_module ConfigStart RULE_WANTHSREGEX=yes LDFLAGS_SHLIB=" -rpath /usr/lib -rpath /usr/local/mysql/lib/mysql $LDFLAGS_SHLIB" LIBS=" -lgd -L/usr/lib -lttf -L/usr/local/mysql/lib/mysql -lmysqlclient -lpam -lm -ldl -lcrypt -lnsl -lresolv $LIBS -lgdbm" RULE_HIDE=yes ConfigEnd > But even fixing that it still doesn't work. Never tried it. How does it break? -- Regards, Sascha Schumann Consultant

« previous php.dev (#8313) next »