-
And of course the Zend Server 5.3 is compiled in VC9.
Thank for trying Bob. Let me know if you do track down a copy of VC9 to compile with.
2009-12-23 23:47:52 UTC by xianve
-
This error will only occur if the ODBTP client app is unable to read or find c:\temp\server\php\odbtp.conf. Is this file located on the same machine that runs the PHP script? Since the connect info is in the interface file, a connection cannot be attempted until after the file is loaded.
Did you create a test script that connects to the DB without the use of an interface file? This will...
2009-11-20 19:32:50 UTC by rtwitty
-
Hello,
I am trying to use ODBTP with Moodle to connect to MS SQL 2005 running on a Win 2008 server. I have setup ODBTP following the instructions here:
http://docs.moodle.org/en/Installing_MSSQL_for_PHP#Using_ODBTP_on_Unix_or_Windows
However, when I attempt to connect to the SQL DB, I get the following error:
[ODBTPERR][0]Unable to load interface file in
By running Wireshark I can tell...
2009-11-20 12:57:11 UTC by sjkninester
-
Hey that works.
The forum seems to have dropped some characters. It should read:
#ifndef ZVAL_ADDREF /* Required for PHP >5.3 */
#define ZVAL_ADDREF Z_ADDREF_P
#endif
Thanks.
2009-11-18 18:47:44 UTC by jdppm7
-
ZVALADDREF is no longer defined in PHP 5.3. The fix is in CVS. For convenience add the following lines in phpodbtp.c after the #include lines:
#ifndef ZVAL_ADDREF /* Required for PHP >5.3 */
#define ZVAL_ADDREF Z_ADDREF_P
#endif
-- bob.
2009-11-18 18:20:23 UTC by rtwitty
-
I'm attempting to compile ODBTP 1.1.4 as a static PHP extension following documentation. When attempting to compile PHP, I receive the following errors:
ext/odbtp/php_odbtp.o: In function `zif_odbtp_bind':
php-5.3.0/ext/odbtp/php_odbtp.c:4050: undefined reference to `ZVAL_ADDREF'
ext/odbtp/php_odbtp.o: In function `php_odbtp_attach_variable'...
2009-11-18 13:20:54 UTC by jdppm7
-
Sorry for the delay. The method for building extensions for PHP 5.3 is not the same as previous versiions. You now have to pick VC6 (Visual C++ 6) or VC9 for building extensions. At this time I can only build VC6 extensions. They have been placed in CVS under /odbtp/php/bin_win32.
-- bob.
2009-11-07 06:55:38 UTC by rtwitty
-
rtwitty committed patchset 240 of module odbtp to the ODBTP - Open Database Transport Protocol CVS repository, changing 2 files.
2009-11-07 06:20:14 UTC by rtwitty
-
rtwitty committed patchset 239 of module odbtp to the ODBTP - Open Database Transport Protocol CVS repository, changing 1 files.
2009-11-07 06:10:27 UTC by rtwitty
-
If it is for Windows, then a php_odbtp.dll extension needs to be created. I will create it and place it into CVS within the next few days.
-- bob.
2009-10-28 13:43:14 UTC by rtwitty