Hi all
I’m lost. I’m a joomla user and i want to test Grav
On my apache server, external 1&1, I have unzipped the package in a directory and i ve got an Successful Installation page on my test subdomain
I can read on learning page "To install a plugin, simply type bin/gpm index "
but where and how i can found windows to type and run the following gpm command
You need to have a shell/terminal login to your server in order to execute those commands. Most hosting providers allow access via SSH (secure shell), so this is how you need to connect to the server in order to execute those bin/gpm commands.
i have installed Putty but i have the same error when i run the 2 command lines grav/bin/gpm selfupgrade -f and grav/bin/gpm install admin
– html
(uiserver):u544681xx:~ > grav/bin/gpm selfupgrade -f
X-Powered-By: PHP/4.4.9
Content-type: text/html
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /homepages/22/d294493xxx/htdocs/grav/bin/gpm on line 13
(uiserver):u54468182:~ > grav/bin/gpm install admin
X-Powered-By: PHP/4.4.9
Content-type: text/html
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /homepages/22/d294493xxx/htdocs/grav/bin/gpm on line 13
Yah your need to ensure you run the correct CLI version of PHP. Your hosted server is not configured to use a more recent version. This is a common problem with hosting providers. They are pretty lazy about setting things up for CLI use.
Even if your hosting provider is not listed, check out the hosting section on the learn site because they each outline how to ensure you are running the correct version of PHP in the CLI. Other than that you can contact your hosting company and ask them to help you out there.
BTW it’s bin/gpm when in the root of the Grav site, notgrav/bin/gpm