PHP, Apache and threads: very strange
| From: | Wagner R. Teixeira | Date: | Mon, 20 May 2002 20:08:37 +0000 |
| Subject: | PHP, Apache and threads: very strange | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7056@lists.php.net to get a copy of this message | ||
Hi, guys.
I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way I've
been doing for years, but this time when I start Apache I get the following
error message:
==================
Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
/apache/bin/apachectl start: httpd could not be started
==================
httpd.conf, line 230 (automatically inserted during PHP build) is:
LoadModule php4_module modules/libphp4.so
PHP Configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable
-ftp --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --enable-tr
ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx --enable-debug=no --
enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5
Apache Configure command is:
./configure --enable-module=so --enable-module=unique_id --with-perl=/usr/bi
n/perl
The OS is: FreeBSD 4.5-RELEASE
Could anybody help me?
Thanks in advance.
Wagner.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02