freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Robert Gonzalez <robert AT robert-gonzalez.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] PHP + Sybase BUG
- Date: Wed, 11 Nov 2009 11:51:13 -0800
How are you changing your memory limit in PHP? Right now it looks like it is
set to 8M. Make sure you change it properly and, if you change it in
php.ini, restart your web server.
You can change it at runtime by issuing the following command in your code:
<?php
// Change this to what you need, though I would not recommend setting it too
high
// You may not even be able to change this at all in shared/hosted
environments
ini_set('memory_limit', '256M');
?>
2009/11/11 André Trindade <andrestrindade2 AT gmail.com>
> Hello. I'm using FREETDS to connect the PHP into a Sybase database. It
> works, sometimes I can make some querys.
> But in some querys, I got that error:
>
> *Fatal error*: Allowed memory size of 134217728 bytes exhausted (tried to
> allocate 8365056 bytes) in */usr/local/apache2/htdocs/index.php* on line
> *15
>
> I've tryed to increase memory size, for 500mb, 1 GB... But it does not
> works. I think it is a BUG.
> I need HELP!
> I'm sorry for my English.
>
>
> Thanks for you all.
> :-)
>
> André.
> *
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
--
Robert Gonzalez
http://www.robert-gonzalez.com
-
[freetds] PHP + Sybase BUG,
André Trindade, 11/11/2009
- Re: [freetds] PHP + Sybase BUG, Robert Gonzalez, 11/11/2009
Archive powered by MHonArc 2.6.24.