Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [symfony] instalacja, could not open input file
Sokal
post
Post #1





Grupa: Zarejestrowani
Postów: 237
Pomógł: 1
Dołączył: 8.02.2007

Ostrzeżenie: (10%)
X----


Hej,

Zdecydowałem się poznać Symfony. No i przeczytałem http://michalmech.pl/index.php/2007/05/19/...stemie-windows/ no i spoko. Ale do czasu. Przerzuciłem symfony.bat do system32 no i problem.

Pozmieniałem ścieżki w nim i teraz tak to wygląda:
Kod
@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=C:\wamp\php\PEAR
goto init

:init

if "%PHP_COMMAND%" == "" goto no_phpcommand

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
)
goto cleanup

:no_phpcommand
rem echo ------------------------------------------------------------------------
rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
rem echo          executable (e.g. C:\PHP\php.exe).  (assuming php.exe on PATH)
rem echo ------------------------------------------------------------------------
set PHP_COMMAND=C:\wamp\php\php.exe
goto init

:cleanup
if "%OS%"=="Windows_NT" @endlocal
rem pause


Jak chcę np. stworzyć nowy projekt to mi wywala:
Kod
Could not open input file: C:\wamp\php\PEAR\symfony


A to jest prawidłowa ścieżka ...
Co robię źle?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 27.09.2025 - 08:14