> I had put the proper lines in httpd.conf, and in php.ini
>  AddType application/x-httpd-php .php
>  AddType application/x-httpd-php-source .phps
> all my php3 files are working but the browsers give the plain
> text php code.

Ok, 1st guess time here, you compiled with apxs so an apache module, but do
you system scripts pass the -D PHP3 paramater when they start apache, often
depends on the distro whether this happens.

Secondly, I think, that for PHP3 the standard mime-type is
application/x-httpd-php3, although don't know whether makes a difference.
Thirdly, you talk about php3 files, does that mean they have the extension
.php3?  In which case you will also need to add a line similar to;
        AddType application/x-httpd-php3 .php3

Hope that gives you some starters :-;

--
 Andy Flisher

'We are but packets in the Internet of Life'

        [EMAIL PROTECTED]  http://www.flish.co.uk



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to