Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Incorrect PHP Version

Started by Karl 8 years ago · 1 replies · 1297 views
8 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

8 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 jeremycherfas, 19 hours ago
1 43 15 hours ago
Installation & Hosting · by motorambler, 2 weeks ago
8 359 6 days ago
Installation & Hosting · by antoinep, 3 months ago
8 937 3 months ago
Installation & Hosting · by Jürgen Dietrich, 9 months ago
0 601 9 months ago
Installation & Hosting · by rappluk, 11 months ago
0 646 11 months ago