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.

Support

Installing Grav on Windows 11

first-time

Started by Colin Hume 1 week ago · 2 replies · 59 views
1 week ago

I'm an experienced programmer but I've managed to avoid CMSs so far! I'm now being pressured to convert a site from HTML to WordPress (because that's what everybody uses) but I'd much prefer a flat file CMS such as Grav. But I can't get it to work.

I'm on Windows 11 Home Edition with IIS Version 25H2 and PHP Version 8.3.26 installed. I want to install Grav locally until I've got the site the way I want it, and then upload everything to my shared server via FTP. Is that a reasonable approach?

My IIS WebRoot is C:\External and below this I have several folders for the various website I control. I downloaded Grav Core + Admin plugin and extracted it as C:\External\grav-admin
Then I browsed to http://localhost/grav-admin/
There was one error message: "PHP Zip extension is required but not installed" and lots of warnings.

I downloaded the extension from: http://pecl.php.net/package/zip/1.12.4/windows - 8.3 Non Thread Safe (NTS) X64
I edited my php.ini file and added the line
extension=php_zip.dll
and also uncommented the line: extension_dir = "ext"
I restarted IIS and when I browsed to http://localhost/grav-admin/ it couldn't find http://localhost:80/grav-admin/admin
The physical path is C:\External\grav-admin\admin
The sub-folder doesn't exist, and it's not in the zip file either.

In fact I need the grav_admin lower down my tree structure so that it's within the folder for the website, but I thought I should get it to work under C:\External first. What am I doing wrong?

1 week ago

@Colin_Hume:
What am I doing wrong?

I've never used IIS and I'm using WSL with Ubuntu/Apache. But that requires quite a bit of setup, but I like it...

Most others would suggest to use https://laragon.org/ and Windows.

Have you had a change to read the topic on installation in the docs? Laragon is the first option in the suggested list of servers on Windows.

5 days ago

IIS is also in the list of servers, but I took your advice and installed Laragon and I've got much further - thank you.

I expect I'll be back with more questions later.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Lyn Borchert, 1 month ago
5 162 2 weeks ago