Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] mod_php3 not showing in server-status (and not functionning) From: Adam Sherman (adams <email protected>)
Date: 01/28/99

At 11:45 PM -0500 28-01-1999, Rasmus Lerdorf wrote:
>> I checked out the FAQ, httpd -l yields:
>> Compiled-in modules:
>> http_core.c
>> mod_so.c
>> mod_php3.c
>>
>> And my AddType _does_ show-up in server-status. But when I try to
>> access a .phtml or .php3 file, it just returns the file as html.
>> (Which is wierd since .php3 whould theorectically be returned as txt
>> since my default is text/plain and there is no handler for .php3.)
>

Sorry, that should server-info, I wasn't paying attention. You can
checkout mine @ http://adam.hyperconnect.com/server-info.

> Do you perhaps mean server-info as in the output from mod_info ?
>
> Not that this matters. Your problem is most likely that you are either
> not putting the AddType in the right .conf file or you haven't restarted
> your server. There isn't much to this. If you are running an httpd
> binary with mod_php3 compiled in and your configuration file sets the
> appropriate mime type, then it will work. If it doesn't it can only be
> one of these two things you are getting wrong.

This is _directly_ from my server-info:
> AddType application/x-httpd-php3 .phtml
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .phps
> AddType text/html .shtml

What's going on?

Thanks,

A.

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>