Re: right name for <IfModule bla.c>
| From: | Chris Hewitt | Date: | Tue, 24 Sep 2002 07:59:54 +0000 |
| Subject: | Re: right name for <IfModule bla.c> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117384@lists.php.net to get a copy of this message | ||
Andreas Hasenack wrote:
What is the right name to use in apache's (2.0.41-dev) IfModule directive to test if the php4 module is loaded? I'm including the file below via httpd.conf's Include statement but the part between the IfModule is being completely ignored: <Directory "/srv/www/default/html/acid"> AllowOverride None order deny,allow Deny from all Allow from 127.0.0.1 <IfModule mod_php4.c> php_flag engine on php_value include_path '.:/srv/www/default/html/acid/config' </Ifmodule> </Directory> <Directory "/srv/www/default/html/acid/config"> order deny,allow deny from all </Directory> I'm using php-4.2.3 (compiled with apxs2) and apache-2.0.41-dev. The PHP module *is* being loaded in another included file, but it doesn't matter if I put the above in an external file or in httpd.conf itself. It looks fine to me (I'm no expert), but maybe its case sensitive? You have </Ifmodule> rather than </IfModule>. Otherwise perhaps remove the <IfModule> completely for a test to see if it is the </IfModule> causing the problem.HTH Chris