ID: 33283
Updated by: [EMAIL PROTECTED]
Reported By: david dot prusak at copart dot com
Status: Open
Bug Type: PDO related
Operating System: *
PHP Version: 5.1-beta
New Comment:
Please don't use this same report to report separate issues!
Previous Comments:
------------------------------------------------------------------------
[2005-06-13 23:17:30] david dot prusak at copart dot com
I tried to install both.
The windows version tells me that it can't load the php_pdo.dll or
php_pdo_odbc.dll because the specified procedure could not be found.
The Solaris version won't configure:
# ./configure --with-apache2=../httpd-2.0.53 --prefix=/www/php
--with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-apxs2=/www/apache/bin/apxs --with-config-file-path=/www/php/etc
--with-ibm-db2=/export/home/db2inst1/sqllib/
configure: error:
build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile
Even though, I did set the IBMDB2 environments.
Config.log:
configure:63159: checking for IBM DB2 support
configure:63230: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-R/usr/ucbl
ib -L/usr/ucblib -R/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2
-L/usr/local/li
b/gcc/sparc-sun-solaris2.9/3.4.2 -R/usr/local/lib -L/usr/local/lib
-R/usr/local/
mysql/lib/mysql -L/usr/local/mysql/lib/mysql conftest.c
-L/export/home/db2inst1/sqllib//lib -ldb2
-lmysqlclient -lgd -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2
-lz -lico
nv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5
configure: failed program was:
#line 63219 "configure"
#include "confdefs.h"
char SQLExecute();
int main() {
SQLExecute();
return 0;
}
------------------------------------------------------------------------
[2005-06-11 19:47:54] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-10 18:39:15] david dot prusak at copart dot com
Well, I installed all this on my solaris box. Accessing the same page,
I get this in my apache error.log
[Fri Jun 10 09:29:03 2005] [notice] child pid 19516 exit signal
Segmentation fault (11)
Removing the "prepare" doesn't segfault apache. The behavior is
identical to the windows version.
------------------------------------------------------------------------
[2005-06-10 17:22:03] david dot prusak at copart dot com
No, adding that didn't stop the GPF, sorry.
------------------------------------------------------------------------
[2005-06-09 23:59:47] [EMAIL PROTECTED]
If you add:
$stmt = null;
$dbh = null;
to the end of your script, does the segfault go away?
------------------------------------------------------------------------
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/33283
--
Edit this bug report at http://bugs.php.net/?id=33283&edit=1