Omar Lopez Limonta wrote:
Hi , i want build PHP5 fcgi/cgi. I add to /etc/mk.conf : PKG_OPTIONS.php=ssl fastcgi cgi And i do : make install on /usr/pkgsrc/lang/php5/ And when i do php -v I get: PHP 5.1.4 (cli) (built: Jun 6 2006 17:00:43) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies It will be PHP 5.1.4 (cgi-fcgi)
The PHP packages install two different php binaries, one in /usr/pkg/bin and the other in /usr/pkg/libexec/cgi-bin. The PHP CGI is located in the latter directory. Instead of the above, could you try running "/usr/pkg/libexec/cgi-bin/php -v"?
Cheers, -- Johnny Lam <jlam%pkgsrc.org@localhost>