PHP4 and Solid DB re-integration help

From: Date: Fri, 02 Jun 2000 13:33:00 +0000
Subject: PHP4 and Solid DB re-integration help
Groups: php.dev 
Request: Send a blank email to php-dev+get-20048@lists.php.net to get a copy of this message
Hi, working with PHP4 release, and trying to get the Solid database, version 3.5 working with it (it does, there are open bugs on it, #3181, #4146, #3628). PHP seems to work with Solid-dbv2.2, and since I do not have access to this, it brings up questions. First, running off of FreeBSD v 3.4-Stable and gcc v 2.7.2.3 (I know). I've noticed that Solid's own database files have changed drastically between 2.2, 3.0.X, and 3.5 (meaning any 3.0 code won't work for 3.5, etc). Question1: Is it possible to change the #define of HAVE_SOLID to a series of: #define HAVE_SOLID_2 // for use in Solid v2.x databases #define HAVE_SOLID_30 // for use in Solid v3.0, 3.0.x databases #define HAVE_SOLID_35 // for use in Solid v3.5 database each of these will require different includes, and libraries, but unfortunately I have no real way to tell a difference other than if such a library exists (suggestions on better methods of testing are welcome). I do not have a copy of a 3.0 setup so I cannot be sure of its layout (which libs it does have, and doesn't). If anyone can send me a list of the libs and includes, I will try to incorporate it. 1a: If it is possible who do I have to talk with about incorporating these changes properly into the configure script? Question 2: I have found various sections commented out from Solid, while the 3.5 system does seem to support these options (e.g. odbc_foreignkeys). Does anyone remember why these were #ifdef !(HAVE_SOLID)'ed out? Again because I have no access to earlier versions of Solid databases, I'm unable to check against history... so I'm asking. Most of my knowledge on 3.0.X has been extrapolated from the "Programmers Guide" (sic) distributed by Solid. So if I am wrong, do correct me! That's all for now, thanks for any input, suggestions, or pointers anyone can give! Dan Kalowsky dkalowsky@wgate.com MIA Software Engineer Worldgate Communications "so why doesn't POP3 work again?"

« previous php.dev (#20048) next »