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...
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.
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.