
support at ocg
Nov 4, 2008, 8:13 PM
Post #9 of 12
(807 views)
Permalink
|
Well...I have php.ini set as follows: memory_limit = 64M ; Maximum amount of memory a script may consume But my http log shows: [Tue Nov 04 23:07:43 2008] [error] [client 172.31.254.64] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /var/www/html/mythweb/modules/tv/includes/objects/Program.php on line 291 Allowed memory size of 33554432 bytes exhausted (tried to allocate 22 bytes) I edited the /etc/php.ini settings but it obviously is not having an effect. Any ideas why the 64MB setting is not being picked up? Is there a 32MB max? Or am I editing the wong file I checked /etc/httpd/conf.d/ and there is no mythweb.conf there...or anywhere. Ideas? Thanks -----Original Message----- From: mythtv-users-bounces [at] mythtv [mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Brad DerManouelian Sent: November 4, 2008 10:49 PM To: Myth TV Users List Subject: Re: [mythtv-users] Mythweb - search times out. Mysql? On Nov 4, 2008, at 7:34 PM, Michael T. Dean wrote: >> I tried increasing the timeout value in /etc/httpd/conf/httpd.conf >> to 240 >> seconds...still timing out! >> > > It's quite possible that it's not a timeout, but is a problem with PHP > running out of memory. Try increasing the PHP memory limit (search > the > list for how, as I don't remember and don't feel like fighting the > hotel > Internet to find it myself). Change php_value memory_limit 64M in /etc/apache2/conf.d/mythweb.conf to something bigger. However, again, your apache logs will hold the key to what the problem DEFINITELY is instead of guessing. _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
|