PHP 4.0 Bug #7904 Updated: ASA7+unixODBC+PHP4 doesn't work
| From: | kara@php.net | Date: | Tue, 21 Nov 2000 15:24:57 +0000 |
| Subject: | PHP 4.0 Bug #7904 Updated: ASA7+unixODBC+PHP4 doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38830@lists.php.net to get a copy of this message | ||
ID: 7904
Updated by: kara
Reported By: wints@piksel.ee
Status: Feedback
Bug Type: ODBC related
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[2000-11-21 10:10:47] wints@piksel.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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7904