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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Incorrect PHP Version

Started by Karl 7 years ago · 1 replies · 1120 views
7 years ago

I'm trying to make a new theme using the theme-tutorial https://learn.getgrav.org/themes/theme-tutorial. When I enter command "bin/plugin devtools new-theme", I get an error "You are running PHP 5.4.16, but Grav needs at least PHP 5.6.4 to run."

I've checked the version using php -v and it's saying "PHP 5.4.16 (cli) (built: Oct 30 2018 05:43:23)"

When I log into my Plesk panel, the hosting is apparently PHP version: 5.6.39. I've tried changing it to PHP version 7.0.33, waited 30 minutes for the changes to take place, yet I still get the exact same error messages.

Any advise would be greatful

7 years ago

I would suggest contacting your hosting company to find out what the problem is - this is an issue with them and not with Grav.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 19 hours ago
7 72 1 hour ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 65 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 64 1 year ago