[mythtv-users] Mythweb - search times out. Mysql?
OCG Technical Support
support at ocg.ca
Wed Nov 5 04:13:38 UTC 2008
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
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] 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
> list for how, as I don't remember and don't feel like fighting the
> Internet to find it myself).
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.org
More information about the mythtv-users