php sybase Allowed memory size exhausted? -


i'm getting problem while trying run query against sybase 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 allocate 30064771074 bytes)

any ideas ?

try add code :

<?php     ini_set("memory_limit","128m");     $con = sybase_connect('server', 'user', 'pwd'); //connects fine     $q = sybase_query("select col=1", $con);        //error here, regardless of sql     ?> 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -