Hi


You do have something like the following defined in the httpd.conf file???


so that the .php, .php3 and .phtml will be interperted as php files?

<IfModule mod_php4.c>
        AddIcon /icons/php4.gif .php3 .php4 .php .phtml
</IfModule>
<IfModule mod_php4.c>
        AddIcon /icons/phps.gif .phps
</IfModule>
<IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php3 .phtml
        AddType application/x-httpd-php-source .phps
</IfModule>


if that is right below you can rip out the empty php4 if defined modules
bits.

the real important lines above are the AddType bits.

On Wed, 6 Dec 2000, Terry Collins wrote:

> Dean Hamstead wrote:
> >
> > Apache can cough up its info as
> >
> > http://url/server-info
> > http://url/server-status
> >
> > status is how apache is doing, what its just done etc.
> > info is how its configured on a per module basis.
>
> Taah, server-status was what the brain was tring to remember, except I
> somehow ran it from the commandline.
>
>
> server-info lists the php4 stuff
>
> ........................................
> Module Name: mod_php4.c
> Content handlers: application/x-httpd-php ,
> application/x-httpd-php-source , text/html
> Configuration Phase Participation: Create Directory Config, Merge
> Directory Configs, Child Exit
> Request Phase Participation: none
> Module Directives:
>       php_value - PHP Value Modifier
>       php_flag - PHP Flag Modifier
>       php_admin_value - PHP Value Modifier (Admin)
>       php_admin_flag - PHP Flag Modifier (Admin)
> Current Configuration:
>
>
> QUESTION1  - Is it supposed to actually say php4 somewhere above, like
> under content handles, or is the above okay?
>
> .................................................................
> I also noticed that in httpd.conf this section
>
> <IfDefine PHP>
>       </IfDefine>
>       <IfDefine PHP4>
>       </IfDefine>
>       <IfDefine PERL>
>       </IfDefine>
>       <IfDefine DAV>
>       </IfDefine>
>       <IfDefine MODULES>
>       <IfDefine SSL>
>       </IfDefine>
>       ClearModuleList
>
> ...................................................
> is before a similar section
>
>
> <IfDefine SSL>
>       AddModule mod_ssl.c
>       </IfDefine>
>       <IfDefine PHP>
>       AddModule mod_php3.c
>       </IfDefine>
>       <IfDefine PHP4>
>       AddModule mod_php4.c
>       </IfDefine>
>       <IfDefine PERL>
>       AddModule mod_perl.c
>       </IfDefine>
>       <IfDefine DAV>
>       AddModule mod_dav.c
>       </IfDefine>
>       <
>
> QUESTION2 - Could the first section be wrong?
> In that it sees the first section, which adds no module, and thus
> ignores the second set, which actually adds the module.
>
> If so, this may explain why neither Perl or PHP will work for me.
>
>
>
> --
>    Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861
>    email: [EMAIL PROTECTED]  www: http://www.woa.com.au
>    WOA Computer Services <lan/wan, linux/unix, novell>
>
>  "People without trees are like fish without clean water"
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
>



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to