A way to fix the Compatability Test
-
The current compatibility test relies on PHP being installed as mod_php. Here is a method of testing that does not have this dependency.
Place the following in .htaccess, then check for the corresponding environment variables within the compatibility check PHP code.
<IfModule mod_deflate.c> SetENV HTTP_MYMODS_deflate 1 </IfModule> <IfModule mod_env.c> SetENV HTTP_MYMODS_env 1 </IfModule> <IfModule mod_expires.c> SetENV HTTP_MYMODS_expires 1 </IfModule> <IfModule mod_filter.c> SetENV HTTP_MYMODS_filter 1 </IfModule> <IfModule mod_ext_filter.c> SetENV HTTP_MYMODS_ext_filter 1 </IfModule> <IfModule mod_headers.c> SetENV HTTP_MYMODS_headers 1 </IfModule> <IfModule mod_mime.c> SetENV HTTP_MYMODS_mime 1 </IfModule> <IfModule mod_rewrite.c> SetENV HTTP_MYMODS_rewrite 1 </IfModule> <IfModule mod_setenvif.c> SetENV HTTP_MYMODS_setenvif 1 </IfModule>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A way to fix the Compatability Test’ is closed to new replies.