Mweb, The iODBC site is back up; I recommend downloading the iODBC SDK and using that. I apologize for the inconvenience; we had a power station fire in the neighborhood!
Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers > -----Original Message----- > From: mweb [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 17, 2001 6:09 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [PHP] Setting up PHP and ODBC on Linux > > > Hello, > > as you may remember, some day ago, I asked how to develop > on linux PHP pages accessing Mysql via ODBC (The reasons why I *have* > to cope with this exact sub optimal set up are in the original > message, no reason to repeat them here). I have installed > all the UnixODBC rpms I could find ( I have RH 7.1); the iodbc > packages on the openlinksw were not accessible. > Now I have the following packages installed: > > > [root@ari mweb] rpm -qa|egrep -i 'php|odbc|sql' > php-4.0.4pl1-9 > php-manual-4.0.4pl1-9 > mysql-server-3.23.36-1 > MyODBC-2.50.39-1 > unixODBC-devel-2.0.7-1 > asp2php-0.75.11-1 > mysql-3.23.36-1 > mysql-devel-3.23.36-1 > php-mysql-4.0.4pl1-9 > unixODBC-2.0.7-1 > unixODBC-generic-2.0.7-1 > mysqlclient9-3.23.22-4 > unixODBC-mysql-2.0.7-1 > > However, I currently have PHP set up as pasted below (from phpinfo): > that means I have to recompile it from scratch, doesn't it? If so, > with which options? Is it enough to change --without-mysql to > --with-mysql and add --with-odbc? > > Also, is it safer/worst/irrelevant/mandatory to erase the php rpm > package before building it again from source? > > TIA, > mweb > > > './configure' '--prefix=/usr' '--with-config-file-path=/etc' > '--disable-debug' > '--enable-pic' '--enable-shared' > '--enable-inline-optimization' > '--with-apxs=/usr/sbin/apxs' > '--with-exec-dir=/usr/bin' '--with-regex=system' > '--with-gettext' '--with-gd' > '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' > '--with-db2' '--with-db3' > '--with-gdbm' '--enable-debugger' > '--enable-magic-quotes' > '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' > '--enable-sysvshm' > '--enable-track-vars' '--enable-yp' '--enable-ftp' > '--enable-wddx' '--without-mysql' > '--without-oracle' '--without-oci8' '--with-xml' > -- > If you have the right attitude, interesting problems will find you > Eric S. Raymond, "The Cathedral and the bazaar", chapter 2 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]