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? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -