Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • /usr/bin/env: php: No such file or directory · 10 years ago

    Admittedly, I'm a newb at CLI but I did get Grav CLI ALMOST working on Windows 10. Over many days I was able to muddle through. For others like me, here are the steps I finally came up with: First Ste

  • /usr/bin/env: php: No such file or directory · 10 years ago

    Okey, so I managed to pass that stage. Windows 10 proper PHP setup: Install PHP via Microsoft Web Platform Installer (https://www.microsoft.com/web/downloads/platform.aspx) Find and install desired P

  • /usr/bin/env: php: No such file or directory · 11 years ago

    I got the same issue when following the recent serverpilot blog post on ubuntu 14. To get it to work I needed to install php-cli the curl extension and had to change the permissions of the files in th

  • /usr/bin/env: php: No such file or directory · 11 years ago

    nerijusgood, I'll try to run the gpm on my windows 10 machine. On my windows 8 machines I haven't encountered problems (though I use IIS rather than MAMP) The php in your path points to the MAMP inst

  • /usr/bin/env: php: No such file or directory · 11 years ago

    Sorry, i'm going to have to hand this off to someone with a windows machine. I have used macs for many years and have forgotten all my windows voodoo magic I used to know. Mac's just work :)

  • /usr/bin/env: php: No such file or directory · 11 years ago

    Okey, commas have no difference at all. What actually helped was moving php installatin to root of harddrive - C:/php. However it still does not work as intended. I still get the fallowing error: Warn

  • /usr/bin/env: php: No such file or directory · 11 years ago

    just edit the environment variable and put quotations around it. "C:\Program Files\p..."

  • /usr/bin/env: php: No such file or directory · 11 years ago

    Same on git-bash. In the beginning I thought the same, however all env paths in Windos 10 are put with spaces - windows deals with that automatically: Screen In the mean time ill try to find an alter

  • /usr/bin/env: php: No such file or directory · 11 years ago

    i think the problem is not the Grav command, it's that the #!/usr/bin/env php is trying to get the PHP path and it's not able to deal with the space in C:\Program Files. What are you running this in?

  • /usr/bin/env: php: No such file or directory · 11 years ago

    Hi, well I manually installed/downloaded php and added environment path, it works with php -v: PHP 5.6.17 (cli) (built: Jan 6 2016 13:28:18) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0,