[freetds] PHP+MSSQL compile on AIX 5.1
Lowden, James K
LowdenJK at bernstein.com
Wed Jun 23 14:09:05 EDT 2004
> From: Rafi Sheikh
> Sent: June 23, 2004 12:30 PM
> I did browse through the userguide. What
> I was confused about is the Sybase. I thought I saw
> somewhere in the mail
> archive that with 4.3 of PHP one can use with --mssql for it to work.
Well, that's really a PHP question. I don't use PHP, but I think when you configure it, you can say ./configure --with-mssql. Try "./configure --help | grep mssql".
(For projects like FreeTDS and PHP, which use the GNU build system, each project has its own "configure" script that generates its makefiles. The options you pass to configure determine what exactly those makefile do. The --help option will list the options.)
> I admit I am so new that I have my pics in the dictionary
> agianst the word 'green'!
> Should I compile PHP also with --tsql also? So far since
No. I hope the above made that clear.
> Now I do have the need to go to MSSQL & Oracle
> data bases via
> PHP, and I am thinking that I am in for a lot of pain!
That depends. If learning is pain, yes. For me, pain is learning something by trial and error that should be (or is) written down. In this case, most of what you need to know is written down. The challenge will be to master the informantion and the environment.
> DO I NEED the unix odbc?
Not for FreeTDS. You mentioned Oracle, which AIUI does use ODBC. If you wind up using ODBC, you can use FreeTDS's ODBC driver. But the sybase and mssql extensions don't use ODBC.
The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
If you, as the intended recipient of this message, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York, NY 10105.
More information about the FreeTDS