diff --git a/.travis.yml b/.travis.yml index 47020d15..985059b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ branches: - /.*/ php: - - 7.1 - 7.2 - 7.3 @@ -50,10 +49,10 @@ deploy: skip_cleanup: true on: tags: true - php: 7.1 + php: 7.2 - provider: script script: bash data/travis/trigger_docker_build.sh skip_cleanup: true on: tags: true - php: 7.1 + php: 7.2 diff --git a/README.md b/README.md index de893dab..d514cb36 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ A PHP-based self-hosted URL shortener that can be used to serve shortened URLs u First make sure the host where you are going to run shlink fulfills these requirements: -* PHP 7.1 or greater with JSON, APCu, intl, curl, PDO and gd extensions enabled. +* PHP 7.2 or greater with JSON, APCu, intl, curl, PDO and gd extensions enabled. * MySQL, PostgreSQL or SQLite. * The web server of your choice with PHP integration (Apache or Nginx recommended). @@ -74,7 +74,7 @@ Despite how you built the project, you are going to need to install it now, by f location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_index index.php; include fastcgi.conf; } diff --git a/composer.json b/composer.json index b529ae8f..a634df7a 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": "^7.1", + "php": "^7.2", "ext-json": "*", "ext-pdo": "*", "acelaya/ze-content-based-error-handler": "^2.2", diff --git a/data/infra/examples/nginx-vhost.conf b/data/infra/examples/nginx-vhost.conf index fa607c1d..b501a70c 100644 --- a/data/infra/examples/nginx-vhost.conf +++ b/data/infra/examples/nginx-vhost.conf @@ -11,7 +11,7 @@ server { location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_index index.php; include fastcgi.conf; }