Hello everyone.

NOTE: I'm cross-posting this from the alt.php and alt.apache.configuration newsgroups as I was recommended by someone from there to email this question to this list.

I'm trying to install and setup PHP 4.3.4 on RedHat 7.3 running Apache 1.3.29. I've successfully built Apache and PHP and Apache works great independently. However, as soon as I add

LoadModule libexec/libphp4.so

I cannot start Apache anymore. It gives me the ever popular error:

"undefined symbol: pthread_getspecific"

I've searched Google, but there was no real solution that I was able to find. When building Apache, I used the standard config settings except for a custom prefix and --enable-module=so.

When building PHP, I had a whole list of config options, but the most important were --with-apxs=<path_to_apxs>, --disable-cli, --disable-pear, --with-mysql and many more. After reading some suggestions to use --with-apache instead, I tried that, but the stupid thing refused to find httpd.h! I specified the base path to Apache, being /usr/local/apache, I have it /usr/local/apache/include (which is where httpd.h actually is!) and I even gave it /usr/local/apache/include/httpd.h (for the sake of testing everything). Nothing worked.

Can anyone help me out? Is my installation of Apache messed up? I've tried reinstalling PHP using --with-apache instead, but that didn't help. I've read the INSTALL file, but no luck there, either.

Thanks a lot,
Max

Reply via email to