[development] How to make Require_once refreshable

andrew morton drewish at katherinehouse.com
Mon Oct 5 15:24:56 UTC 2009

On Mon, Oct 5, 2009 at 11:12 AM, Nancy Wichmann <nan_wich at bellsouth.net> wrote:
> I was trying to track down an issue I am having with the node module's
> content_types.inc so I stuck in some messages. Unfortunately, the menu
> system uses require_once to load these files, so my changes are not working.
> I really don't want to have to reboot every time I do something. Is there
> any quicker way to get PHP to reload these files?

That's definitely not PHP's default behavior. It sounds like you might
have some caching happening, perhaps APC? That or you might be editing
a different file other than the one you're expecting? I've found
myself hacking a way for a good half hour only to realize I'm on the
wrong site.


More information about the development mailing list