to jest komunikat z konsoli
<?php Microsoft Windows [Wersja 6.0.6001] Copyright (c) 2006 Microsoft Corporation. Wszelkie prawa zastrzeżone. C:UsersDzesi>symfony -V offrem ************************************************************* C:UsersDzesi>rem ** symfony CLI for Windows based systems (based on phing.bat) C:UsersDzesi>rem ************************************************************* rem This script will do the following: C:UsersDzesi>rem - check for PHP_COMMAND env, if found, use it. C:UsersDzesi>rem - if not found detect php, if found use it, otherwise err a nd terminateif "Windows_NT"=="Windows_NT" @setlocalrem C:WindowsSystem32 is e xpanded pathname of the current script under NT C:UsersDzesi>set SCRIPT_DIR=C:WindowsSystem32goto init C:UsersDzesi>if "" == "" goto no_phpcommand ---------------- of your php.exe hp.exe on PATH) ---------------- C:UsersDzesi>set PHP_COMMAND=C:phpphp.exe C:UsersDzesi>goto init C:UsersDzesi>if "C:phpphp.exe" == "" goto no_phpcommand C:UsersDzesi>IF EXIST ".symfony" (C:phpphp.exe -d html_errors=off -d open_b asedir= -q ".symfony" -V ) ELSE ( rem C:phpphp.exe -d html_errors=off -d open_basedir= -q "C:WindowsSystem32g oto initsymfony" -V C:phpphp.exe -d html_errors=off -d open_basedir= -q "C:phpsymfony" -V ) symfony version 1.1.4 (C:phpPEARsymfony) C:UsersDzesi>goto cleanup C:UsersDzesi>if "Windows_NT" == "Windows_NT" C:UsersDzesi>rem pause C:UsersDzesi> ?>
a to jest plik bat
<?php @echo off rem ************************************************************* rem ** symfony CLI for Windows based systems (based on phing.bat) rem ************************************************************* rem This script will do the following: rem - check for PHP_COMMAND env, if found, use it. rem - if not found detect php, if found use it, otherwise err and terminate if "%OS%"=="Windows_NT" @setlocal rem %~dp0 is expanded pathname of the current script under NT set SCRIPT_DIR=%~dp0 goto init :init if "%PHP_COMMAND%" == "" goto no_phpcommand IF EXIST ".symfony" ( %PHP_COMMAND% ".symfony" %* ) ELSE ( %PHP_COMMAND% "%SCRIPT_DIR%symfony" %* ) goto cleanup :no_phpcommand rem echo ------------------------------------------------------------------------ rem echo ------------------------------------------------------------------------ set PHP_COMMAND=c:phpphp.exe goto init :cleanup if "%OS%"=="Windows_NT" @endlocal rem pause ?>
Czy wy tez tak macie ?, bo jak pamiętam to przy xp nie było takich komunikatów do wyświetlania a na viscie takie cos mi sie pojawia albo może mam zle coś ustawione , jak możecie to wklejcie swój symfony .bat
dodam ze nie wiem czemu ale mam 2 pliki symfony bat jeden w windows /system 32 a drugi w katalogu z php