mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-17 07:49:54 +03:00
Dropped support for PHP 7.1
This commit is contained in:
parent
20c3bde036
commit
c2c659b0fe
4 changed files with 6 additions and 7 deletions
|
@ -5,7 +5,6 @@ branches:
|
||||||
- /.*/
|
- /.*/
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.1
|
|
||||||
- 7.2
|
- 7.2
|
||||||
- 7.3
|
- 7.3
|
||||||
|
|
||||||
|
@ -50,10 +49,10 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
php: 7.1
|
php: 7.2
|
||||||
- provider: script
|
- provider: script
|
||||||
script: bash data/travis/trigger_docker_build.sh
|
script: bash data/travis/trigger_docker_build.sh
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
php: 7.1
|
php: 7.2
|
||||||
|
|
|
@ -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:
|
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.
|
* MySQL, PostgreSQL or SQLite.
|
||||||
* The web server of your choice with PHP integration (Apache or Nginx recommended).
|
* 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$ {
|
location ~ \.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.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;
|
fastcgi_index index.php;
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1",
|
"php": "^7.2",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
"acelaya/ze-content-based-error-handler": "^2.2",
|
"acelaya/ze-content-based-error-handler": "^2.2",
|
||||||
|
|
|
@ -11,7 +11,7 @@ server {
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.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;
|
fastcgi_index index.php;
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue