I can do execute this function on my development server (which is under no load), but if I attempt it on my production server, the whole thing gums up, and I have to restart apache. What’s going on? I have a suspicion that some of the configuration details on my production server are different enough to be causing problems, but I wouldn’t expect that sort of behavior to result from simply trying to export static HTML.
What could be going on?
I’ve documented a lot of what I’ve learned on the wiki:
http://wiki.modxcms.com/index.php/Export_static_html