You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/03/26 11:02:34 UTC

DO NOT REPLY [Bug 48994] New: PHP Error

https://issues.apache.org/bugzilla/show_bug.cgi?id=48994

           Summary: PHP Error
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: minhhiep.duong@gmail.com


I found out that after compile version 2.2.15, apache can not load .php
extension when memmory_limit is set in php.ini file

i have to rem this line in php.ini then apache able to load the site and it
consider PHP use 128MB of mem

;memory_limit = 512MB      ; Maximum amount of memory a script may consume
(128MB)

here is error in apache error log
PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to
allocate 131072 bytes)

here is my Memory
MemTotal:      8178816 kB
MemFree:       7168780 kB
Buffers:         51452 kB
Cached:         793652 kB
SwapCached:          0 kB
Active:         498088 kB
Inactive:       400436 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      8178816 kB
LowFree:       7168780 kB
SwapTotal:    10223608 kB
SwapFree:     10223608 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:       53396 kB
Mapped:          14740 kB
Slab:            80168 kB
PageTables:       6752 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:  14313016 kB
Committed_AS:   191408 kB
VmallocTotal: 34359738367 kB
VmallocUsed:    267628 kB
VmallocChunk: 34359470327 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

Test in CentOS 5.4 x64 with PHP 5.2.11 & 5.2.13

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48994] PHP Error

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48994

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-03-26 10:41:27 UTC ---
This bugzilla is for Apache HTTP Server defects, not PHP defects or config help
/ Q&A.

http://httpd.apache.org/userslist.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org