right name for <IfModule bla.c>
| From: | Andreas Hasenack | Date: | Mon, 23 Sep 2002 19:23:52 +0000 |
| Subject: | right name for <IfModule bla.c> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117309@lists.php.net to get a copy of this message | ||
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.