Skip to content

Commit

Permalink
Updated PHP to version 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin committed Jan 3, 2019
1 parent 5fbfbb6 commit b18e81e
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/contributing/upgrading-monorepo.md
Expand Up @@ -11,6 +11,8 @@ Typical upgrade sequence should be:
- either rebuild your Docker images with `docker-compose up -d --build` or add `ELASTIC_SEARCH_INDEX_PREFIX=''` to your `.env` files in the microservice root directories, otherwise all requests to the microservices will throw `EnvNotFoundException`
- [#679 webserver container starts after php-fpm is started](https://github.com/shopsys/shopsys/pull/679)
- add `depends_on: [php-fpm]` into `webserver` service of your `docker-compose.yml` file so webserver will not fail on error `host not found in upstream php-fpm:9000`
- [#694 PHP 7.3 support](https://github.com/shopsys/shopsys/pull/694)
- rebuild your Docker images with `docker-compose up -d --build`

## [From 7.0.0-beta2 to v7.0.0-beta3](https://github.com/shopsys/shopsys/compare/v7.0.0-beta2...v7.0.0-beta3)
- *(MacOS only)* [#503 updated docker-sync configuration](https://github.com/shopsys/shopsys/pull/503/)
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/native-installation.md
Expand Up @@ -16,7 +16,7 @@ First of all, you need to install the following software on your system:
### Linux / MacOS
* [GIT](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* [PostgreSQL 9.5](https://wiki.postgresql.org/wiki/Detailed_installation_guides)
* [PHP 7.1 - 7.2](http://php.net/manual/en/install.php) (configure your `php.ini` by [Required PHP Configuration](../introduction/required-php-configuration.md))
* [PHP 7.1 - 7.3](http://php.net/manual/en/install.php) (configure your `php.ini` by [Required PHP Configuration](../introduction/required-php-configuration.md))
* [Composer](https://getcomposer.org/doc/00-intro.md#globally)
* [Node.js with npm](https://nodejs.org/en/download/) (npm is automatically installed when you install Node.js)
* [Redis](https://redis.io/topics/quickstart)
Expand All @@ -25,7 +25,7 @@ First of all, you need to install the following software on your system:
### Windows
* [GIT](https://git-scm.com/download/win)
* [PostgreSQL 9.5](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads#windows)
* [PHP 7.1 - 7.2](http://php.net/manual/en/install.windows.php) (configure your `php.ini` by [Required PHP Configuration](../introduction/required-php-configuration.md))
* [PHP 7.1 - 7.3](http://php.net/manual/en/install.windows.php) (configure your `php.ini` by [Required PHP Configuration](../introduction/required-php-configuration.md))
* [Composer](https://getcomposer.org/doc/00-intro.md#installation-windows)
* [Node.js with npm](https://nodejs.org/en/download/) (npm is automatically installed when you install Node.js)
* [Redis](https://github.com/MicrosoftArchive/redis/releases)
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/shopsys-framework-on-docker.md
Expand Up @@ -65,7 +65,7 @@ kind of recipe by which final image is cooked.

Dockerfile example command:
```dockerfile
FROM php:7.2-fpm-alpine
FROM php:7.3-fpm-alpine
```
* The `FROM` instruction specifies the base image, from which you are building

Expand Down
1 change: 1 addition & 0 deletions docs/upgrade/UPGRADE-unreleased.md
Expand Up @@ -13,6 +13,7 @@ There you can find links to upgrade notes for other versions too.
- *(optional)* If you are using Kubernetes manifests for CI or deployment, follow changes done in manifests and ci `build_kubernetes.sh` script.
- add `!docker/nginx` line into `.dockerignore` file so `docker/nginx` directory is not excluded during building `php-fpm` image ([#674](https://github.com/shopsys/shopsys/pull/674))
- make sure your `webserver` service depends on `php-fpm` in your `docker-compose.yml` file so webserver will not fail on error `host not found in upstream php-fpm:9000` ([#679](https://github.com/shopsys/shopsys/pull/679))
- *(optional)* in your `docker/php-fpm/Dockerfile` change base image to `php:7.3-fpm-alpine` ([#694](https://github.com/shopsys/shopsys/pull/694))

### Configuration
- *(optional)* for easier deployment to production, make the trusted proxies in `Shopsys\Boostrap` class loaded from DIC parameter `trusted_proxies` instead of being hard-coded ([#596](https://github.com/shopsys/shopsys/pull/596))
Expand Down
1 change: 1 addition & 0 deletions microservices/product-search-export/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions microservices/product-search-export/docker/Dockerfile
@@ -1,4 +1,4 @@
FROM php:7.2-fpm-alpine as base
FROM php:7.3-fpm-alpine as base

# install nginx as in nginx:stable-alpine
# https://hub.docker.com/r/library/nginx/tags/stable-alpine/
Expand Down Expand Up @@ -209,7 +209,7 @@ RUN composer global require hirak/prestissimo

########################################################################################################################

FROM php:7.2-fpm-alpine as production-builder
FROM php:7.3-fpm-alpine as production-builder

ENV APP_ENV prod

Expand Down
4 changes: 2 additions & 2 deletions microservices/product-search/docker/Dockerfile
@@ -1,4 +1,4 @@
FROM php:7.2-fpm-alpine as base
FROM php:7.3-fpm-alpine as base

# install nginx as in nginx:stable-alpine
# https://hub.docker.com/r/library/nginx/tags/stable-alpine/
Expand Down Expand Up @@ -209,7 +209,7 @@ RUN composer global require hirak/prestissimo

########################################################################################################################

FROM php:7.2-fpm-alpine as production-builder
FROM php:7.3-fpm-alpine as production-builder

ENV APP_ENV prod

Expand Down
1 change: 1 addition & 0 deletions packages/coding-standards/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/form-types-bundle/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

install:
- composer install
Expand Down
1 change: 1 addition & 0 deletions packages/framework/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/http-smoke-testing/.travis.yml
Expand Up @@ -5,6 +5,7 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/migrations/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-interface/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

install:
- composer install
Expand Down
1 change: 1 addition & 0 deletions packages/product-feed-google/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/product-feed-heureka-delivery/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/product-feed-heureka/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions packages/product-feed-zbozi/.travis.yml
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion project-base/docker/php-fpm/Dockerfile
@@ -1,4 +1,4 @@
FROM php:7.2-fpm-alpine as base
FROM php:7.3-fpm-alpine as base

ARG project_root=.
ENV REDIS_PREFIX=''
Expand Down

0 comments on commit b18e81e

Please sign in to comment.