Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-17-2006, 05:23 AM   #1
LQ Newbie
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Unhappy apache+php+unixODBC don't work


I have a pc with Linux and with an oracle 10.2g data base. I also have an web application in php and I use the functions odbc to connect to the data base

The drivers to connect is unixODBC and they work fine (I tested with isql and works). I also test with the php client and works too.
But when I try to access with apache+php I have the following error in odbc_connect:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed, SQL state IM004 in SQLConnect in /home/scatex/MAN/sxbin/weblists/htdocs/scripts/ on line 44

Anyone have any idea?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5.1.0 and Apache 2.0.55 don't work together polemon Linux - Software 8 12-04-2005 01:57 PM
Apache, MySql, PHP work on 10.0 but not 10.1 fireman949 Slackware 3 03-01-2005 12:36 AM
Mono + unixOdbc does not seem to work paulecoyote Programming 0 10-12-2004 05:22 AM
installing php to work with apache citrus Linux - Software 8 04-30-2004 03:08 AM
Can't get PHP and apache to work together FrostGunner Linux - Software 3 09-11-2003 12:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration