"c:/php5/php.exe" will not work for windows:
But "c:\\php5\\php.exe" a must.

Let's simplify, for example:
<?php
 
require_once 'path/to/symfony/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

$fs = new sfFilesystem();
$res = $fs->sh('c:\\php5\\php.exe -v');

echo $res;

Let me know if above works for you.

Thanks.

Tomasz Ignatiuk wrote:
> I thought it should be a path to project, hehe.
>
> So now there is
>
> c:/php5/php.exe -c c:/windows/php-isapi.ini
> "/home/users/iwitch/public_html/pd/lib/symfony/command/cli.php" cc
> *Fatal error*: Uncaught exception 'sfException' with message 'Problem
> executing command sh: line 1: c:/php5/php.exe: No such file or
> directory ' in
> /home/users/iwitch/public_html/pd/lib/symfony/task/sfFilesystem.class.php:291
> Stack trace: #0
> /home/users/iwitch/public_html/pd/web/sf_cc_webscript.php(9):
> sfFilesystem->sh('c:/php5/php.exe...') #1 {main} thrown in
> */home/users/iwitch/public_html/pd/lib/symfony/task/sfFilesystem.class.php*
> on line *291
>
> *I used \\ but still ther are cut off*
> *I used this and this and still not working*
> *"/home/users/iwitch/public_html/pd/lib/symfony/command/cli.php"
> "/home/users/iwitch/public_html/pd/lib/symfony/command/"
>
> >

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to