Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Oil and Windows!
  • I Try to run
    D:\server\htdocs\projects\fuel_blog>D:\server\php\php.exe oil create blog and I see: Usage:
    php oil [cell|console|generate|package|refine|help|test] Runtime options:
    -f, # Overwrite files that already exist
    -s, # Skip files that already exist
    -q, # Supress status output
    -t, # Speak errors in a robot voice Description:
    The 'oil' command can be used in several ways to facilitate quick development, help with
    testing your application and for running Tasks. Environment:
    If you want to specify a specific environment oil has to run in, overload the environment
    variable on the commandline: FUEL_ENV=staging php oil <commands> Documentation:
    http://docs.fuelphp.com/packages/oil/intro.html

    What I do wrong ?
  • Very good question, I don't see anything wrong. That php.exe is the CLI version? (run it with -v to check).
  • other commands works, except: create
  • Ah, misread that. On linux machines, oil is started by a shell script (batch file in windows terms), not by loading the "oil" php file directory. "Create" is a function of that shell script, which uses git to create a new local fuelphp install. Afaik there is no git commandline version for Windows, so that part of oil is not going to work, you will have to clone the repo manually, or download the zip file and install that.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion