php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7904 ASA7+unixODBC+PHP4 doesn't work
Submitted: 2000-11-21 10:10 UTC Modified: 2000-12-30 19:52 UTC
From: wints at piksel dot ee Assigned: joey (profile)
Status: Closed Package: ODBC related
PHP Version: 4.0.3pl1 OS: mdk7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wints at piksel dot ee
New email:
PHP Version: OS:

 

 [2000-11-21 10:10 UTC] wints at piksel dot ee
I have tried almost everithing found in manuals and newsgroups but still I get this message:

Warning: SQL error: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed, SQL state IM004 in SQLConnect in
/www/db_odbc.php on line 35

when I connect with Sybase Central everything works fine.
What is wrong?

And when I tried to buid PHP directli linked to ASA's ODBC drivers PHP outputs nothing.

I'm using PHP4.0.3pl1, unixODBC1.8.13, SybaseASA7.0.1, Apache1.3.12

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-21 10:24 UTC] kara@php.net
I'm not familiar with Sybase, but did you check that the environment is set up correctly? Make shure all Sybase related environment variables are set for the webserver process and that the permissions are correct. 
See the output generated by phpinfo() to see how the environment of your server is configured
 [2000-12-30 19:52 UTC] sniper@php.net
No feedback. 

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC