#19322 [Fbk->Opn]: system() call returns undefined function w/Apache-2.0.40

From: Date: Wed, 11 Sep 2002 21:47:13 +0000
Subject: #19322 [Fbk->Opn]: system() call returns undefined function w/Apache-2.0.40
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19189@lists.php.net to get a copy of this message
ID: 19322 User updated by: danne@wiberg.nu Reported By: danne@wiberg.nu -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: FreeBSD 4.6.2 PHP Version: 4.2.3 New Comment: ./configure --with-apxs2 [loads of suff] checking for Berkeley DB2 support... no ./configure: 21429: Syntax error: "fi" unexpected (expecting "then") Previous Comments: ------------------------------------------------------------------------ [2002-09-11 08:23:09] sniper@php.net So it's yet another apache2 problem then. Could you also try this snapshot: http://snaps.php.net/php4-latest.tar.gz ------------------------------------------------------------------------ [2002-09-11 00:50:10] danne@wiberg.nu Using --with-apxs2 --with-tsrm-pth same problem. Only --with-apxs2 doesn't work, se below: Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/libphp4.so into server: /usr/local/libexec/apache2/libphp4.so: Undefined symbol "pthread_getspecific" ------------------------------------------------------------------------ [2002-09-11 00:18:14] danne@wiberg.nu +--------------------------------------------------------------------+ | *** WARNING *** | | | | In order to build PHP as a Apache2 module on FreeBSD, you have to | | add --with-tsrm-pth to your ./configure line. Therefore you need | | to install gnu-pth from /usr/ports/devel/pth. | +--------------------------------------------------------------------+ Should I include this also? ------------------------------------------------------------------------ [2002-09-10 19:48:30] sniper@php.net Can you try compiling a new apache2 module from _clean_ sources (fresh download from www.php.net :) and only include the minimum amount of configure options. (ie. just the --with-apxs2 one) ------------------------------------------------------------------------ [2002-09-10 00:26:23] danne@wiberg.nu I just compiled php standalone, it worked, no undefined function. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19322 -- Edit this bug report at http://bugs.php.net/?id=19322&edit=1

« previous php.bugs (#19189) next »