I'm getting this problem while trying to run any query against Sybase from php:
- PHP 5.4.3 (cgi-fcgi) (built: May 9 2013 17:03:23)
- built --with-sybase-ct=/path/to/freetds
- code:
<?php $con = sybase_connect('server', 'user', 'pwd'); //connects fine $q = sybase_query("select col=1", $con); //error here, regardless of SQL ?>
- Output:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30064771074 bytes)
Any ideas ?