Hi!

Probably some people are interested in this. I recently managed to install
Midgard (1.4.3 from CVS tree, April 25th, 2002) together with PHP 4.2.0 in
an Apache 1.2.4/MySQL 3.23.49 environment (OS: Slackware 8.0/2.4.18) without
any problems. Now I should add here that I didn't use good old plain
mod_midgard, but mod_midgard-preparse instead. With mod_midgard we would
quite certainly get these annoying "unknown function: mgd_eval in
midgard_root.php" error messages.

The only thing I had to adjust (besides running database-upgrade to create
cache structure in database) was to add the two directives required with
page caching to httpd.conf:

    MidgardPageCacheDir /var/cache/midgard/page
    MidgardFavorFiles Off

and to change a few lines of nadmin concerning the cookie handling (PHP
complains about SetCookie() called with wrong parameter type 3 because
nadmin sends "" as third parameter, which has to be replaced by 0 (decimal
number without quotes). Now nadmin works as good as usual.

Before having success with the solution described above, I played (on a
development server) with Midgard 1.4.2-1 (current release) and PHP 4.1.x but
I already got errors while compiling. Seems that PHP people cleaned up the
4.2.0 sources a little bit and Midgard-CVS being more tolerant.

BTW: Anybody already have had a look at combining Apache 2.0 (with PHP
4.2.0) and Midgard? There seem to be bigger code changes necessary to get a
such configuration working since the Apache API was changed generously.

        Leo.

--
Leonhard Fellermayr <[EMAIL PROTECTED]>

This e-mail was automatically scanned by a sophos/qmail
antivirus gateway (running Linux ;-) and is certified virus-free.


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

Reply via email to