#19322 [Opn]: system() call returns undefined function w/Apache-2.0.40
| From: | danne at wiberg dot nu | Date: | Sat, 14 Sep 2002 07:41:12 +0000 |
| Subject: | #19322 [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-19333@lists.php.net to get a copy of this message | ||
ID: 19322
User updated by: danne@wiberg.nu
Reported By: danne@wiberg.nu
Status: Open
Bug Type: Apache2 related
Operating System: FreeBSD 4.6.2
PHP Version: 4.2.3
New Comment:
The PHP installation segfaults, but when I compile it against Apache2 I
don't get an executable, so how do I debug it?
Previous Comments:
------------------------------------------------------------------------
[2002-09-11 17:03:40] danne@wiberg.nu
Trying php4-200209111200:
make install
[a lot of output]
[PEAR] Archive_Tar - installed: 0.9
[PEAR] Console_Getopt - installed: 0.11
[PEAR] PEAR - installed: 0.91
Segmentation fault - core dumped
*** Error code 139
Stop in /usr/home/danne/tmp/php4-200209111200.
*** Error code 1
------------------------------------------------------------------------
[2002-09-11 16:47:13] danne@wiberg.nu
./configure --with-apxs2
[loads of suff]
checking for Berkeley DB2 support... no
./configure: 21429: Syntax error: "fi" unexpected (expecting "then")
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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