You are here: Re: Call to undefined function odbc_connect() « All PHP « IT news, forums, messages
Re: Call to undefined function odbc_connect()

Posted by Bill on 02/27/06 16:01

Thanks for replying.
I downloaded the file PHP-5.1.2 (tar.gz).
How can i know whether odbc module is included?
Can you tell me the option in order to compile php with odbc? (something
like --odbc ?)?
Thanks


"J.O. Aho" <user@example.net> schreef in bericht
news:46gduiFb06svU1@individual.net...
> Bill wrote:
>> Hi,
>>
>>
>> I installed PHP 5.0 on my linux box.
>> In php.ini, i added this: extension=odbc.so
>> But i still get the error:"Call to undefined function odbc_connect()"
>> when trying to run this command:
>> $connect = odbc_connect ('DRIVER={Microsoft Access Driver
>> (*.mdb)};DBQ=/mnt/pen1800d/access\newres.mdb', '', '');
>>
>> In windows, no error.
>> I thought odbc was integrated in php.
>> What do i have to install then and what about php.ini?
>
> The PHP has been compiled without the odbc support or the odbc part has
> been split into another package which you need to install.
>
>
> //Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация