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

PHP GPM Problem

Started by Muut Archive 10 years ago · 3 replies · 602 views
10 years ago

Hello,
I'm very new to this, so I apologise if this is something simple.
I have downloaded SoraArticle skeleton and have it running in :-
C:\xampp\htdocs\grav-sora

This works fine. I now want to add some plugins, and so have been attempting to use GPM.
I have installed PHP, and set the PATH. If I open CMD inside the grav-sora folder, I can type 'PHP -v' and I get:-

'PHP 7.1.1 (cli) (built: Jan 18 2017 18:38:28) ( NTS MSVC14 (Visual C++ 2015) x64 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies'

If I then type 'php grav/gpm index' as per the help file, I get :-

'Could not open input file: grav/gpm'

What am I doing wrong?
Thanks,
Matt.

10 years ago

Note, that when in the right directory in the console, the command is php bin/gpm or php bin/grav. There is no subfolder of Grav called Grav which contains the GPM.

10 years ago

Thanks.
php bin/grav now works fine.
However php bin/gpm gives me the following error:-

FATAL: GPM requires PHP Curl module to be installed

I'm assuming that this would be a separate download and installation from somewhere?

10 years ago

Curl is something commonly included with PHP, see this page in the docs to verify that it is enabled. Generally you'd only need to un-comment it in php.ini.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1999 9 years ago
Archive · by Muut Archive, 9 years ago
2 1342 9 years ago
Archive · by Muut Archive, 9 years ago
2 4548 9 years ago
Archive · by Muut Archive, 9 years ago
1 3401 9 years ago
Archive · by Muut Archive, 9 years ago
3 1493 9 years ago