I recently started working on a Laravel project in my local development environment (MAMP, with PHP 5.4.3) and have been somewhat annoyed by an odd occurrence that doesn't seem to be documented.
Once in awhile, when I attempt to load a page, I get an unhandled exception screen instead, with the message "Directive 'allow_call_time_pass_reference' is no longer available in PHP." (The location listed is "Unknown on line 0.") If I reload the page once or twice, it works as expected. But the problem comes back shortly after. It's been doing it since I first ran Laravel, even before I added any of my own controllers or models.
I've tried commenting out allow_call_time_pass_reference in the PHP config, as well as explicitly setting it to be off (restarting the server after making changes, of course) but the intermittent warning continues to appear. It wouldn't be a big deal for production, I assume, since the setting to display errors would be off, but it's kind of annoying when working on the project locally.
Any ideas as to what could be causing this?