Marcin So?tysiak olga.pl wrote:

> Hi,
> 
> What is MMP? Initially i've compiled MMP instead of mod_midgard and 
> nothing worked without an error statement in any of logs.
> 
> After replacing MMP with mod_midgard everthing starded and run smoothly.
> 
> I believe I went somwhere wrong but I dont get the idea...

MMP moves the preparsing work from midgard-php4 to mod_midgard.
Instead of parsing on the fly, mmp keeps track of what records have
changed, and when a page is requested that has changed in the db it
'flattens it out' (replacing the template tags with their value in the
db) to a file and tells PHP to execute that file. The generated files
are regular PHP files, nothing midgard-specific (other than mgd_
function calls) left in them. For MMP to work, you must:

- install mmp instead of mm, create a cache directory for it and make
  sure that apache can write files to this directory. Point mmp to
  this directory with the MidgardPageCacheDir directive
- compile midgard-php4 with the --enable-mgd-preparser flag for
  configure.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to