php+apache2 threads
| From: | Jiri Mikulas | Date: | Wed, 17 Oct 2001 23:56:55 +0000 |
| Subject: | php+apache2 threads | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71423@lists.php.net to get a copy of this message | ||
Hi all.
I have this problem.
I obtain last CVS PHP and want to compile it with last dev. apache2
httpd-2_0_25-alpha on FreeBSD 4.4-release
alone apache is running well, but if I want load PHP module it gets this message.
Syntax error on line 212 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"
I'v tried to compile apache with-mpm=threaded , prefork
but all cases went this way.
Forget i some configure parameter (at the end of this message)?
Thanks for help
Maybe i had to write to apache conference - sorry :).
Jiri.
-------------------
apache configure options
./configure \
--prefix=/usr/local/apache2 \
--exec-prefix=/usr/local/apache2 \
--with-perl=/usr/local/perl \
--with-suexec-docroot=/usr/local/apache2/www/data \
--enable-shared \
--with-mpm=threaded \
--enable-file-cache \
--enable-echo \
--enable-cache \
--enable-mem-cache \
--enable-unique-id \
--enable-modules=" .. blah.. modules ...."
--enable-mods-shared=" ..blah .. modules ...."
-----------------------------------------------
php configure:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-debug \
--with-mysql \
--enable-gd-imgstrttf \
--with-freetype-dir=/usr/local \
--enable-gd-native-tt \
--with-t1lib=/usr/local \
--with-gdbm \
--with-db \
--with-gd \
--with-dom=/usr/local \
--enable-trans-sid \
--enable-ftp \
--with-config-file-path=/usr/local/etc \
--with-openssl \
--enable-calendar \
--with-pdflib3 \
--with-zlib-dir \
--with-jpeg-dir \
--with-png-dir \
--with-tiff-dir \
--with-imap \
--with-gettext \
--with-ldap \
--with-mcrypt