Midgard on RHEL3
Tue 21st December 2004 16:30 EET
Here's a short tip where to look if you have trouble running Midgard on RedHat Enterprise Linux (or similar). I had spent hours just wondering what the hell could be wrong, re-compiling about everything twice, when Piotras came up with an idea.
First of all, read Piotras' blog entry or see the short-lived discussion at the Midgard-user mailing list for the problem description.
The key in the end was to upgrade the following packages:
- pcre and pcre-devel (to 4.5.3)
- zlib and zlib-devel (to 1.2.1.2-1)
I believe the pcre upgrade alone to be sufficient, but I decided to make sure as the PHP bugtracker has some mentions related to zlib. I also re-compiled the PHP-4.3.4 with an additional --with-pcre-regex=/usr flag. After Midgard re-compilation everything looks good and even the NTLM authentication works like a charm.
NOTE 1: If you don't require NTLM authentication, the regular distribution RPMs for the Apache and PHP along with the Midgard RPMs work well out-of-the-box.
NOTE 2: If you require NTLM authentication, don't bother with the Apache2 - Midgard's NTLM authentication module does not work with it - it's actually disabled.
NOTE 3: You will need at least the Apache-1.3.29 for the Midgard's php4 module to compile. I compiled Apache-1.3.33 from the sources along with the mod_ssl.
