Script Installer for Grav

The self-contained CMS Grav ( is becoming more and more popular. Are there any plans to provide a script installer for it?

Fixed (pending)


Is it just a PHP app with no unusual dependencies?

Grav has no dependencies at all. It is a self-contained set of files. Please check, there are two main basic entry points aka downloads: Grav without and Grav with Admin Plugin. There is also a multitude of so called skeletons, but a basic "Grav" / "Grav + Admin" would absolutely do in order to get people up and running.

Did you find the time to check out whether a Grav script installer could make it into one of the next releases?

Vince42, I'll give Jamie a hand reviewing grav... one of the questions he'll have is regarding dependencies.

It looks fairly minimal, and doesn't even require a database -- but I do see that they seem to want some PHP modules.

Which PHP modules did you end up enabling on your system?

Looking at this page here:

I see there's 11 or so PHP modules they mention... did you find that you needed to install all of those? I wasn't even sure what some where, such as simplexml and gtype.

However, they may be part of other modules, or even compiled into PHP.

I hardly remember which modules I did install ... I think that Grav is complaining about the missing modules explicitly and I think that I just installed the complaint modules and were up and running.

Indeed this CMS has very few dependencies (which makes it very nice for little projects). Still trying to figure out some concepts, but it is really neat.

I am also very interested in Grav as a scriptable install/update.

Are there any news on this topic?

Are there any news on this topic?

No dependencies at all. That's what I like about Grav. I recently installed it on my PHP web hosting and gave it a test drive. The CMS is lightweight and has a simple and clean interface. Not bloated like WordPress.

It would be nice, if we had install scripts for systems, which do not require anything special. I recently came across "October", which seems to be similar non-dependent and light-weighted.

Just some feedback. I installed as a test Grav on our virtualmin server by simply uploading the files to a virtual server (as it does not require a db) and it worked fine without any php changes (running default virtualmin installed php 7.2 on CentOS 7) so appears it is as simple as it claims and from virtualmin standpoint it is as simple as creating a directory and extracting the files - all required php components are already in place.

Ok, that maybe pretty easy to support then ... I'll take a look

Ok, I've added an installer for Grav - it should be available to all Virtualmin Pro users within 1 day.

I do not see the Grav installer in Virtualmin. Do I need to upgrade / update anything in order see the new installer?

Which Virtualmin version are you running there?

Virtualmin 6.08 Webmin 1.941 Usermin 1.791

Apologies, I forgot that new scripts are only picked up with new Virtualmin releases.

As a work-around, save this attached file in /etc/webmin/virtual-server/latest-scripts/

I successfully uploaded the script and were able to run the script. Unfortunately it does not run through, but stops with Failed to install script : Grav appears to be already installed in the selected directory, which was / is not the case, as the public_html does only contain an index.php from a week ago.

Just delete that index.php file and re-try

Thank you, it worked. Maybe you should consider deleting existing files by the script? It would also be good to set the minimum required PHP version by the script as well.

What I'll do is fix the way an existing install of Grav is detected, to not trigger on other index.php files.

The last comment from ohonrehman is obviously spam. Please consider to block that user.