apache2 + php4 + freebsd4.5 problem
| From: | Ivan Voras | Date: | Thu, 28 Feb 2002 20:14:31 +0000 |
| Subject: | apache2 + php4 + freebsd4.5 problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6203@lists.php.net to get a copy of this message | ||
I have found many problems attempting to install the stated combination,
(like: some php modules cannot be built/produce bizarre build errors), but
there is one I cannot overcome: It seems that apache2 (at least the port in
freebsd CVS... apache 2.0.28) does not want to use pthreads, and php4 does
not want to build without them (switches like --without-tsrm-pthreads and
especially --disable-experimental-zts do not work - resulting libphp4.so
still references pthread_*() functions).
My question is: Can php 4.1.1 (libphp4.so) be built and linked without any
trace of using pthread calls? I need this because if I leave it as is, httpd
complains it "cannot find symbol pthread_[something]" on trying to load
libphp4.so.
I have tried to manually modify some options in Zend.m4 (remove -DZTS
compile option) but now the httpd executable complains it "cannot find
symbol tsrm_[something]".
--
----
--------
- Ivan Voras <ivoras @ fer.hr> -