The Batch Solution doesn't work, the only thing works is to copy the
whole PHP Executables out of Program Files and set a PHP_Path to this
new Directory.

THX
Jörg

On Oct 23, 1:20 am, Alexandre SALOME <alexandre.sal...@gmail.com>
wrote:
> > A fixaround would be to create a batch :
>
> > c:\windows\system32\php.bat
>
> > that contains
>
> > "c:\program files\....\php.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> 2009/10/20 ridcully <ohnhei...@googlemail.com>
>
>
>
>
>
> > The Idee comes not from us, Zend Server CE install PHP under Programm
> > Files.
>
> > On Oct 20, 2:40 pm, david <da...@inspiredthinking.co.uk> wrote:
> > > It's generally not a good idea to have php installed under "program
> > files"
> > > - suggest to your colleague to reinstall it to a folder under the root of
>
> > > a drive - ie "C:\php" - it'll save you a lot of headaches both now and
> > > later.
>
> > > On Tue, 20 Oct 2009 14:34:45 +0200, ridcully <ohnhei...@googlemail.com>
>
> > > wrote:
>
> > > > I'm coding on a Mac, but a collegue is coding on a Windows System, and
> > > > i think it's not a shame to code under Windows.
>
> > > > But the the php.bat is not the Problem, because a symfony.bat
> > > > doctrine:build-all-reload works 100% on this Windows system.
>
> > > > I think the testrunner wants to create a new PHP Task from the PHP
> > > > script and fails to locate php, because of the space in the path.
> > > > Both fixaround doesn't fix the problem at this Windows System.
> > > > Can I do anything ?
>
> > > > On Oct 20, 1:31 pm, Alexandre SALOME <alexandre.sal...@gmail.com>
> > > > wrote:
> > > >> A fixaround would be to create a batch :
>
> > > >> c:\windows\system32\php.bat
>
> > > >> that contains
>
> > > >> "c:\program files\....\php.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> > > >> But the best thing is to fix the symfony.bat file.
>
> > > >> Try replacing lines 22 to 26 with :
>
> > > >> IF EXIST ".\symfony" (
> > > >>   "%PHP_COMMAND%" -d html_errors=off -d open_basedir= -q ".\symfony"
> > %1
> > > >> %2
> > > >> %3 %4 %5 %6 %7 %8 %9
> > > >> ) ELSE (
> > > >>   "%PHP_COMMAND%" -d html_errors=off -d open_basedir= -q
> > > >> "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
> > > >> )
>
> > > >> If it fixes the problem, tell me, I will submit a patch to symfony.
>
> > > >> Alexandre
>
> > > >> 2009/10/20 Gareth McCumskey <gmccums...@gmail.com>
>
> > > >> > Wih I could offer more help. Its a shame you don't code on a *nix
> > > >> box....
>
> > > >> > On Tue, Oct 20, 2009 at 11:55 AM, ridcully
> > > >> <ohnhei...@googlemail.com>wrote:
>
> > > >> >> Our Problems seem there is a space in the directoryname C:\program
> > > >> >> file where the PHP executable lies.
>
> > > >> >> Google says it's a bug in symfony, is any workaround there?
>
> > > >> >> THX
> > > >> >> Joerg
>
> > > >> >> On Oct 20, 9:55 am, Gareth McCumskey <gmccums...@gmail.com> wrote:
> > > >> >> > This is a path setting in windows. Look at the symfony.bat file
> > > >> and put
> > > >> >> the
> > > >> >> > correct path to your PHP executable.
>
> > > >> >> > On Tue, Oct 20, 2009 at 9:50 AM, ridcully
> > > >> <ohnhei...@googlemail.com>
> > > >> >> wrote:
>
> > > >> >> > > Hi,
>
> > > >> >> > > our test task failed under Windows, it says 'Unable to find PHP
> > > >> >> > > executable'.
>
> > > >> >> > > All other symfony task works, only the test task failed.
>
> > > >> >> > > The Search Path is right and we're using 1.2.9 with doctrine.
>
> > > >> >> > --
> > > >> >> > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > > >> >> > twitter: @garethmcc
>
> > > >> > --
> > > >> > Gareth McCumskey
>
> > > >> >http://garethmccumskey.blogspot.com
> > > >> > twitter: @garethmcc
>
> > > >> --
> > > >> Alexandre Salomé -- alexandre.sal...@gmail.com
>
> > > --
> > > Using Opera's revolutionary e-mail client:http://www.opera.com/mail/
>
> --
> Alexandre Salomé -- alexandre.sal...@gmail.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to