Skip to content

Commit

Permalink
IBX-9497: Adjust documentation after bumping the default PHP version (#…
Browse files Browse the repository at this point in the history
…2428)

* Content added (caused by new default PHP version)

* Fixes after rev

* 4.6.8 update section added

---------

Co-authored-by: Julita Falcon Dusza <julitafalcondusza@Users-MacBook-Pro.local>
  • Loading branch information
julitafalcondusza and Julita Falcon Dusza committed Jul 11, 2024
1 parent 077825f commit 680cd7a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docs/getting_started/install_ibexa_dxp.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,27 +113,29 @@ After this, when running Composer to get updates, you will be asked for a userna
To use Composer to instantly create a project in the current folder with all the dependencies,
run the following command:

=== "[[= product_name_headless =]]"
!!! note "Using PHP 8.3 (recommended)"

``` bash
composer create-project ibexa/headless-skeleton .
```
=== "[[= product_name_headless =]]"

=== "[[= product_name_exp =]]"
``` bash
composer create-project ibexa/headless-skeleton .
```

``` bash
composer create-project ibexa/experience-skeleton .
```
=== "[[= product_name_exp =]]"

=== "[[= product_name_com =]]"
``` bash
composer create-project ibexa/experience-skeleton .
```

``` bash
composer create-project ibexa/commerce-skeleton .
```
=== "[[= product_name_com =]]"

``` bash
composer create-project ibexa/commerce-skeleton .
```

??? note "Using PHP 7.4, 8.0 or 8.3"
??? note "Using PHP 8.2 or older"

If you are using PHP 7.4, 8.0 or 8.3, use a different set of commands:
If you are using PHP 8.2 or any older version, use a different set of commands:

=== "[[= product_name_headless =]]"

Expand Down
8 changes: 8 additions & 0 deletions docs/update_and_migration/from_3.3/update_from_3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ Run:
composer require ibexa/commerce:[[= latest_tag_3_3 =]] --with-all-dependencies --no-scripts
```

To avoid deprecations when updating from an older PHP version to PHP 8.2 or 8.3, run the following commands:

``` bash
composer config extra.runtime.error_handler
"\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
composer dump-autoload
```

### Update Flex server

The `flex.ibexa.co` Flex server has been disabled.
Expand Down
10 changes: 10 additions & 0 deletions docs/update_and_migration/from_4.5/update_from_4.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,3 +502,13 @@ Run the following scripts:
``` bash
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.6.3-to-4.6.4.sql
```

## v4.6.8

To avoid deprecations when updating from an older PHP version to PHP 8.2 or 8.3, run the following commands:

``` bash
composer config extra.runtime.error_handler
"\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
composer dump-autoload
```

0 comments on commit 680cd7a

Please sign in to comment.