Mandriva 2007 issues with apache2 addon modules

Discussion in 'Installation/Configuration' started by sgrayban, Dec 5, 2006.

  1. sgrayban

    sgrayban New Member

    You get any of these errors....

    Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
    Invalid command 'SuexecUserGroup', perhaps misspelled or defined by a module not included in the server configuration
    Mandriva likes to make modules of _everything_ for apache and I was getting the same errors and ISPConfig was not loading in new websites because httpd -t was throwing a valid but invalid error.

    The problem begins when you install a apache2 module and it installs it into 'modules.d/70_mod_php4.conf' or something like that.

    httpd -t doesn't load that in -- know why ? Cause in Mandriva atleast 1 issue is going on.
    1) httpd -t doesn't check syntax with the included 'Include modules.d/*.conf' still

    So what I had to do was manually add the following into httpd.conf ....

    LoadModule php4_module extramodules/
    LoadModule suexec_module extramodules/

    These two modules _MUST_ be loaded into the main httpd.conf for 'httpd -t' to work. After I did that the error 'Invalid command 'php_admin_flag' went bye bye and all was good.

    The suexec_module will also throw a error if its loaded the same way the php4 module is so I had to add that as well.

    Maybe 'httpd -t' just isn't a good idea until the apache people fix this bug. I already reported it.
    Last edited: Dec 5, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

  3. sgrayban

    sgrayban New Member

    It's not double posting when that howto for Mandiva is confusing with all those graphics stuck between every other paragraph.

    If what I posted here is there as well then I missed it along with a few hundred others that tried to read it. Condense that howto into a readable "HOWTO" and people just might see everything.

    In either case having this on the forum here as a sticky is still a good idea although I am sure you will disagree and ignore the hint.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You might find the graphics confusing, other users need them to understand the steps correctly. I've not seen the hundreds of posts complaining that they can not follow the mandriva howto.

Share This Page