1 Mar 01:19
Re: php5 Portfile question
Chuck Remes <cremes <at> opendarwin.org>
2006-03-01 00:19:22 GMT
2006-03-01 00:19:22 GMT
James,
thanks for your answer. I understand this is a volunteer effort, so
I'll volunteer to clean up the php5 portfile (unless there are
objections).
Let me clarify my comments on CLI. By default the portfile is
creating a binary that when executed ("/path/to/php -v") it returns
something like:
PHP 4.3.11 (cli) (built: Dec 9 2005 11:10:27)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
(I used the default OSX 10.4.5 /usr/bin/php to generate this output.)
As you likely know, the php-cli binary is for interactive use or
shell-script style use. This doesn't matter to Apache because it uses
the mod_php stuff. As far as I know it builds the appropriate
binaries for Apache correctly though I haven't run apache at all to
verify.
Lighttpd's mod_fastcgi requires that php be built for cgi-fastcgi
use. It chokes something terrible on the CLI binary since its
behavior is different from lighttpd's expectations. So, I built my
own php with the various switches necessary for fastcgi and therefore
get:
PHP 5.1.2 (cgi-fcgi) (built: Feb 28 2006 15:18:59)
Copyright (c) 1997-2006 The PHP Group
(Continue reading)
RSS Feed