'Bug Database wrote:'
>
> BTW: Any hints how to trace that problem:
>
> # /etc/init.d/apachectl-1.3.19 start
> Syntax error on line 233 of /opt/www/conf/httpd.conf:
> API module structure `php4_module' in file /opt/www/libexec/libphp4.so is garbled -
>perhaps this is not an Apache module DSO?
> /etc/init.d/apachectl start: httpd could not be started
>
> The garbled module problem is technically a different bug; I would suggest ensuring
>that gd links in correctly (or building without) and making sure that you do
>"./cvsclean; ./buildconf" before you configure.
Ok - found it by myself:
I used the apxs from Apache/1.3.12 but tried to use libphp4.so
with Apache/1.3.19 ... :(
Using the right apxs (i.e. from 1.3.19) apache started but SIGSEGVs.
When I went a little bit deeper, I end up in a glibc 2.1.2 bug:
apache is not linked against libpthread, but libphp4.so is ...
Since I could NOT find a hint for resolving that problem on the
php site/faq, I recommend to add an entry to the FAQ, which
recommends to set LDFLAGS=-lpthread, before configuring apache ...
Than it works :))
Regards,
jens.
--
+---[ Jens Elkner ]-------------------------[ USG IFF FhG Magdeburg ]
| Certified Master Unix Systems Administrator [EMAIL PROTECTED] |
| Sandtorstr. 22 http://www2.iff.fhg.de |
| 39106 Magdeburg GERMANY http://www.ims-gmbh.server.de |
+-------------------------------------------------------------------+
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]