[PHP-DEV] Re: PHP 4.0 Bug #4155 Updated: Incorrect content headers From: Andrew Lawrence (andrew <email protected>)
Date: 04/15/00

> ID: 4155
> Updated by: rasmus
> Reported By: ausage <email protected>
> Status: Closed
> Bug Type: Installation problem
> Assigned To:
> Comments:
>
> This is not a PHP problem - Try upgrading your Apache. You are about a
year behind on your Apache version.
>

I have upgraded to Apache 1.3.12 (Latest win32 release) and the problem
persists.

This problem does NOT occur with PHP 3.0.16

The following are the relevant line from httpd.conf

----
AddType text/html .shtml
AddType text/xml .xml
AddType application/x-javascript .js
AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps

AddType application/x-httpd-php .php4

AddHandler cgi-script .cgi AddHandler server-parsed .shtml

Action tango-script /cgi-bin/t3cgi.exe Addhandler tango-script .taf

Action php3-script /cgi-php/php.exe Action php-script /cgi-php4/php.exe

AddHandler php3-script .php AddHandler php3-script .php3 AddHandler php3-script .phtml AddHandler php3-script .phps

AddHandler php-script .php4 -- Andrew Lawrence, President Smoke & Mirrors 2-605 Sherbourne St Toronto, Ontario CANADA M4X 1L7 Tel: (416) 929-7419 http://www.smoke-and-mirrors.net

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>