2017 © Pedro PelĂĄez
 

library server-check

Craft CMS Server Check

image

craftcms/server-check

Craft CMS Server Check

  • Thursday, July 26, 2018
  • by brandonkelly
  • Repository
  • 2 Watchers
  • 18 Stars
  • 111,419 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 25 Versions
  • 37 % Grown

The README.md

Craft Server Check

This script checks if a web server meets the minimum requirements to run a Craft 4 installation., (*1)

Usage

Run the following in a terminal of any *nix environment (e.g. Linux, MacOS, WSL):, (*2)

curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash

Note You can review the substance of this script before execution., (*3)

Alternatives

Web UI

Upload the server/ folder to your web server’s web root and load checkit.php from a browser to get an HTML report., (*4)

Remote CLI

The same server/ folder can be uploaded anywhere on your server and used via the command line to get a plain-text report:, (*5)

php checkit.php

This is equivalent to the default usage instructions, above., (*6)

Shell exit codes

If all requirements are met, the script will return an exit code of 0., (*7)

The script will return an exit code of 1 if:, (*8)

  • Any errors are encountered, or requirements are not met
  • An environment variable CRAFT_STRICT_SERVER_CHECK=1 is set, and any warnings are found:, (*9)

    CRAFT_STRICT_SERVER_CHECK=1 php server/checkit.php
    

This can be especially useful in a CI/CD pipeline, or a Dockerfile, where you want the process to fail if the check does not pass:, (*10)

# Dockerfile
FROM php:8.0-fpm
RUN curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash

The official Craft Docker Images run this check when building to be certain all of Craft's requirements are met in any built image., (*11)

The Versions

26/07 2018

dev-master

9999999-dev https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

25/07 2018

1.1.4

1.1.4.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

19/07 2018

1.1.3

1.1.3.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

18/07 2018

1.1.2

1.1.2.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

15/12 2017

1.1.1

1.1.1.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

11/11 2017

1.1.0

1.1.0.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

29/06 2017

1.0.17

1.0.17.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

19/06 2017

1.0.16

1.0.16.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

14/06 2017

1.0.15

1.0.15.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

07/05 2017

1.0.14

1.0.14.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

01/05 2017

1.0.13

1.0.13.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

yii2 cms craftcms requirements

25/03 2017

dev-develop

dev-develop https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

20/03 2017

1.0.12

1.0.12.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

07/03 2017

1.0.11

1.0.11.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

22/02 2017

1.0.10

1.0.10.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

14/02 2017

1.0.9

1.0.9.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

06/02 2017

1.0.8

1.0.8.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

yii2 cms craftcms requirements

30/01 2017

1.0.7

1.0.7.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

server cms check craftcms craft requirements

17/01 2017

1.0.6

1.0.6.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

04/01 2017

1.0.5

1.0.5.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

04/01 2017

1.0.4

1.0.4.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

04/01 2017

1.0.3

1.0.3.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

31/12 2016

1.0.2

1.0.2.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

31/12 2016

1.0.1

1.0.1.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

MIT

server cms check craftcms craft requirements

31/12 2016

1.0.0

1.0.0.0 https://craftcms.com/

Craft CMS Server Check

  Sources   Download

server cms check craftcms craft requirements