PHP4 port won't output Content type when run as CGI script

Gabriel Ambuehl gaml at buz.ch
Wed May 7 06:24:33 PDT 2003


Hi,
I installed PHP 4.3.1 from the ports wanting to use the PHP
interpreter in CGI mode. However, there is something weird going on:
in past versions, this worked without any changes to the scripts
(maybe add #!path to php at the beginning if it wasn't already there)
but the current version for some weird reason won't output any content
types anymore which is more than just a nuisance considering that no
PHP scripts have provisions for doing this themselves.

Am I doing something wrong or did this get changed? Or need I get
another port for CGI operation (couldn't find one, for that)?



More information about the freebsd-questions mailing list