DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19052>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19052

IfModule directive does not work for mod_php4

           Summary: IfModule directive does not work for mod_php4
           Product: Apache httpd-2.0
           Version: 2.0.32
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


OS: Linux RedHat 9
apache rpm: httpd-2.0.40-21
php rpm: php-4.2.2-17

I create a virtual host in apache config as usual. I use IfModule directive like
that:

<IfModule mod_php4.c>
...
</IfModule>

But it does not work. If I use this "..." without IfModule directive it works 
ok.

I'm confused ...

I try to find the string in libphp4.so and I can't it.
exec: strings /usr/lib/httpd/modules/libphp4.so | '\.c'
result is:
../../Zend/zend_language_scanner.c
../../Zend/zend_execute.c
../../Zend/zend_opcode.c
/usr/src/build/228709-i386/BUILD/php-4.2.2/sapi/apache2filter/sapi_apache2.c
highlight.comment
/usr/src/build/228709-i386/BUILD/php-4.2.2/main/main.c
/usr/src/build/228709-i386/BUILD/php-4.2.2/main/output.c
/usr/src/build/228709-i386/BUILD/php-4.2.2/ext/bcmath/libbcmath/src/recmul.c

But! If I use the following:

<IfModule sapi_apache2.c>
...
</IfModule>

It works ok.
Is it correct?
And what I must doing now for checking php module?

Thanks for your attantion/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to