[symfony-users] Re: Frequent PHP Fatal Errors with APC enabled

2010-07-04 Thread mstralka
PM, mstralka mstra...@gmail.com wrote: No luck - I configured apc.stat = 0 this morning and still saw the issue occurring 2 hours later. Then I disabled APC completely - and it still happens!  I'm beginning to think it's a problem in apache or PHP because if I open several links from

[symfony-users] Frequent PHP Fatal Errors with APC enabled

2010-06-30 Thread mstralka
We're running our symfony 1.4 app on: dedicated server RHEL 5.x 64bit 8 GB Ram Mysql 5.0.x APC 3.1.13p1 (latest, compiled from source) PHP 5.3.1 Apache 2.2.3 APC is enabled with the following settings: extension=apc.so apc.enabled=1 apc.shm_size=64 We enabled Doctrine_Cache_Apc in

[symfony-users] Re: Frequent PHP Fatal Errors with APC enabled

2010-06-30 Thread mstralka
No luck - I configured apc.stat = 0 this morning and still saw the issue occurring 2 hours later. Then I disabled APC completely - and it still happens! I'm beginning to think it's a problem in apache or PHP because if I open several links from a page into separate tabs in rapid succession, at

[symfony-users] Doctrine Behavior example in symfony 1.4 book - CountCache

2010-04-05 Thread mstralka
Hi, An example in The More with symfony book chapter 8 shows how to create a doctrine behavior called CountCache that counts the number of Posts a Thread has related to it: http://www.symfony-project.org/more-with-symfony/1_4/en/08-Advanced-Doctrine-Usage I'm trying to use this behavior in my

[symfony-users] Advent Calendar Day 11 - Advanced Doctrine Part 1 Question

2009-12-24 Thread mstralka
In Advent Calendar Day 11 (http://www.symfony-project.org/ advent_calendar/11/en), there is the following tip: In order for the preDqlDelete() method to be invoked you must enable an attribute. The DQL callbacks are off by default due to them costing a little extra. So if you want to use them, you

[symfony-users] Re: Advent Calendar Day 11 - Advanced Doctrine Part 1 Question

2009-12-24 Thread mstralka
Nevermind I figured it out. Day 12 showed an example that added the following method to ProjectConfiguration.class.php: public function configureDoctrine(Doctrine_Manager $manager) { $manager-setAttribute(Doctrine_Core::ATTR_USE_DQL_CALLBACKS, true); } On Dec 24, 8:34 am, mstralka mstra