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

Gabriel Ambuehl gabriel_ambuehl at buz.ch
Wed May 7 07:39:19 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----

Hello Roman,

Wednesday, May 7, 2003, 4:29:37 PM, you wrote:


>     roman at freepuppy ~ 1002:1 >
./install/php/php-4.3.2RC1/sapi/cli/php -v
>     PHP 4.3.2-RC1 (cli) (built: Mar 22 2003 02:52:56)
>     Copyright (c) 1997-2003 The PHP Group
>     Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

>     roman at freepuppy ~ 1003:1 >
./install/php/php-4.3.2RC1/sapi/cgi/php -v
>     PHP 4.3.2-RC1 (cgi), Copyright (c) 1997-2003 The PHP Group
>     Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies


Acutally I'm sure I'm using the CLI edition. I have no clue why the
CGI
edition doesn't get installed in first place cause when I build the
source myself (i.e. not by port) it works perfectly. IMNSHO, there's
something wrong about the port not installing CGI as well. Maybe as
php.cgi alongside php (CLI)?

I know that in the past, there actually was an option to install the
CGI version but that was removed some time ago. So am I supposed to
build PHP from sources now to get CGI functionality?


Best regards,
 Gabriel

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2i

iQEVAwUBPrkM58Za2WpymlDxAQGDXAf+O2L6hKeG0S2kTVBsiqI9pKC4aWqw5oum
j+EHbddXcz0cu7vK6fQyWtkQ4mhCquBUm/97XSRvSYmSQreC+owRTAZZa1lyYdeM
9pMjU/lPwJzFabqLJ4yPlpsKvEyi6zEBSpfA39Pa8us+B/y65HYKSBaPYd8dc1c+
mjOhifSWkUOwSy3bPuFGGbtQnDlKIrg2PFp0kruhxV3DqqSKzxncyDaTS3KXpWAX
F77/ZBsGid7tVJmvYjMzXe5Ik4wa+VQfJWqySEn21TQ+6waodSMjzSx6zj6138HB
iYZrVs/zi7Z9pXM6yg13b6mbkhmaeXV17GrCA75EBxiqQwVAQafzkQ==
=Yt09
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list