PHP Fatal error: Allowed memory size of -------- bytes exhausted (tried to allocate ---- bytes) in connection.class on line 899
To solve this issue use
(1)You can directly open php.ini file and direct
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
--This affect the globally to all site on same server.
--You need to restart the server to make it work.
(2)Put the following code at your php file.
ini_set("memory_limit", "128M"); //128 represent Memory in MB
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment