On Mon, 18 May 2009, Lawrence wrote:
> [email protected] [~/home/sfprojects/bw2]# php -v
> PHP 5.2.9 (cgi-fcgi) (built: May 18 2009 02:46:53)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>
>
> But this just started a few days ago. The problem wasn't there last
> week.
So there's been no software updates? What's weird is, on most platforms,
the CGI binary is called php-cgi and the command-line is called just php.
Obviously, on your system, "php" is a CGI binary. On my system, php is a
symbolic link to /usr/lib/php5/bin/php - maybe on yours its erroneously
pointing to php-cgi instead. Or maybe you have an alias in play. I would
also check what symfony is using as a path to the php binary.
$ php -v
PHP 5.2.9-pl2-gentoo with Suhosin-Patch 0.9.7 (cli) (built: Apr 24 2009
14:13:10) Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
$ which php
/usr/bin/php
$ file /usr/bin/php
/usr/bin/php: symbolic link to `/usr/lib/php5/bin/php'
$ file /usr/bin/php-cgi
/usr/bin/php-cgi: symbolic link to `/usr/lib/php5/bin/php-cgi'
--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---