php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41963 PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to a
Submitted: 2007-07-11 13:15 UTC Modified: 2007-07-11 14:58 UTC
From: girish dot kulkarni at t-systems dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 5.2.3 OS: Solaris 10
Private report: No CVE-ID: None
 [2007-07-11 13:15 UTC] girish dot kulkarni at t-systems dot com
Description:
------------
My OS is Solaris 10 & I have installed Apache - Apache/2.0.58, Mysql - Ver 14.12 Distrib 5.0.41, for pc-solaris2.10 (i386) & configured PHP : PHP 5.2.3 (cli) (built: Jul  6 2007 16:34:43)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

but while trying to insatll the wordpress (Blogging tool) Its showing below error in php log files
=====================================================
[11-Jul-2007 18:26:34] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10 bytes) in /var/apache2/htdocs/wordpress/wp-includes/cache.php on line 324
=================================

I increased memory limit from 128 to 256 MB but the error is still there please tell me how to resolve the eror 

Even simple php codes i can view with apache server so apache doesnt seems to be a problem.
Here is more information about PHP
===============================
System  SunOS Blwebplsun 5.10 Generic_118855-33 i86pc  
Build Date  Jul 10 2007 13:25:25  
Configure Command  './configure' '--with-apxs2=/usr/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--enable-dbase' '--with-libxml-dir=/usr/local' '--with-config-file-path=/etc/apache2'  
Server API  Apache 2.0 Handler  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  /etc/apache2  
Loaded Configuration File  /etc/apache2/php.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  disabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  php, file, data, http, ftp  
Registered Stream Socket Transports  tcp, udp, unix, udg  
Registered Stream Filters  string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*  

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-11 13:24 UTC] tony2001@php.net
Apparently your scripts consume too much memory.
Not PHP problem.
 [2007-07-11 14:58 UTC] girish dot kulkarni at t-systems dot com
I have searched on net but its the correct script & its tested by the blogging team. It wont consume more memory it seems some problem is there with PHP !! Please suggest the solution
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 05:01:29 2024 UTC