PHP and Sybase
| From: | Robert Neumann | Date: | Wed, 19 Jun 2002 06:32:36 +0000 |
| Subject: | PHP and Sybase | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7379@lists.php.net to get a copy of this message | ||
Hello,
this is my situation:
on my windows2000 pc I installed Apache 1.3.26, PHP 4.0.4 and Sybase Open Client;
on my linux redhat 7.2 pc Sybase ASE 11.9.2 is installed.
The Sybase server works and I also can access it from my windows pc via open client.
Apache and PHP also work fine on the windows PC.
BUT:
if I try to use a sybase_connect(...) I get a 'memory write error' from the apache.exe
after I updated apche to 1.3.26 i get the same error with phpinfo()
I think to have figured out that PHP needs a interface file from Sybase (I have such
a file on the linux system [filename: interfaces] and I have one WindowsPC [filename: sql.ini])
this is my sql.ini from the windows pc
//start sql.ini
[MP3SERVER]
master=TCP,192.168.0.15,4200
query=TCP,192.168.0.15,4200
//end sql.ini
I also tried to write to php.ini the following:
[Sybase]
sybase.interface_file = Path_to_Open_Client\ini\sql.ini
but that didn't change anything.
The sybase extensions are also correctly loaded (says phpinfo())
Perhaps someone can help me with this problem.
The two PC's are connected through a LAN
I tried before to use MySQL on the Linux system and this worked perfectly with PHP,
only Sybase and PHP will not work together.
Thanks a lot in advance
->Robert Neumann<-