php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8821 sybase_connect()
Submitted: 2001-01-20 12:36 UTC Modified: 2001-05-27 19:39 UTC
From: sjm05 at nycap dot rr dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-01-20 12:36 UTC] sjm05 at nycap dot rr dot com
Yesterday Jan. 20, 2001 I submitted a bug report that related to the Sybase_connect() function in PHP.  At the time I was uncertain as to whether or not it was a bug or something that I had left out in setting up the Sybase connectivity.  

As I said at the time in the last few weeks I have set up PHP, Sybase ASE, Apache, and MySQL on a number of computers with a number of fresh builds.  On each occassion I was confronted with the same problem of not being able to execute the sybase_connect() function.

Last night I read three or four more reports NEWS.PNP.NET news group of other developers having the same problem using the same combinations of PHP 4, Sybase ASE 11.9, Apache 1.3.4 in a Windows 2000 or Windows NT OS.  

In one of the reports the developer Kjetil Limkjaer (kjetil.limkjaer@fiqas.nl) attempted to get sybase_connect() to work in both Windows 98 and Windows NT. He found that the problem was present in both OS platforms.  The problem was referred as crashing Windows 98 or memory errors in NT which is what I observed and reported on in greater detail yesterday. He was able to connect using ODBC but not using the native drivers of the Sybase-CT Lib.

In another report a developer named Aaron Chau aaron.chau@hongkong.com said that he had confronted the Sybase_connect() problem when he upgraded from PHP3 to PHP4.

In the process of checking around and posting to various discussion groups I could not find anyone that reported having PHP4, Apache, Sybase, Windows 2000 operational.

If you'd like more details on the set-ups, error message details, install scripts feel free to drop me a line.

work - sjm05@health.state.ny.us
home - sjm05@nycap.rr.com

If what I have learned is correct then this may be a problem with using the PHP4 sybase_connect() function in a MS Windows environment.  Since it has been reported not to work with Apache and MS IIS Web Servers in either MS Win98, Win NT, and Win2000.

I would be also be interested in testing any patches or fixes that are created to address this problem.  It seems that developers using PHP4 and Sybase in a Windows environment are in the minority.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 19:39 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.0.6.

--Jani

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 03:03:35 2022 UTC