The attached patch makes the httpd work if the mod_mime.so is not loaded.
Created attachment 132174 [details] patch to fix this bug
You should expect a configuration error if mod_mime is not loaded, since PHP will not work otherwise. This is desired behaviour.
Surely you should expect that if pre-requisite functionality is removed then PHP would simply be disabled. How would you suggest handling the situation where you have multiple instances of Apache on one machine where one of them has PHP enabled and another doesn't? Have separate conf.d directories for each instance? I know that multiple instances of Apache is not supported (multiple copies of a daemon is too complex for most sys-admins to handle). But it would be nice if it wasn't any more difficult than it has to be.
(In reply to comment #3) > Surely you should expect that if pre-requisite functionality is removed then > PHP would simply be disabled. No, silent failure is a bad thing. If you want to complicate your configuration with this kind of thing you can, but that doesn't mean it's necessary for the default config. > How would you suggest handling the situation where you have multiple instances > of Apache on one machine where one of them has PHP enabled and another > doesn't? Have separate conf.d directories for each instance? Yeah, or you could surround the php.conf with <IfDefine DISABLE_PHP> and run some httpd's with -DDISABLE_PHP on the command-line, for example. Please take further discussion to fedora-list.