# Sage 9 + PHP 8.0

**URL:** https://discourse.roots.io/t/sage-9-php-8-0/22485
**Category:** sage
**Tags:** sage9
**Created:** 2022-03-08T12:18:50Z
**Posts:** 16
**Showing post:** 14 of 16

## Post 14 by @evance — 2023-02-28T16:29:49Z

Hi @gracemonahan,

I can only see minor differences between the `composer.json`-files, specifically

```
"composer/installers": "~2.0"
"roots/sage-installer": "dev-master"
```

**vs.**

```
"composer/installers": "^2.0",
"roots/sage-installer": "^2.0"
```

and also that you should move the `roots/sage-installer` into the **required** -section (vs. **required-dev** ) but since you say that you have copied the [complete composer.json](https://discourse.roots.io/t/is-there-a-way-to-use-sage-9-with-php-8-1/24435) and tried with that to no avail I am clueless as to what might be the culprit here…

Was hoping for some fatal errors in the `debug.log` – the deprecations won’t cause the white screen of death.

Check your `composer.lock`-file within the Sage theme directory and make sure that you have the **illuminate** -packages in version `8.x` – e.g.

```
"name": "illuminate/container",
"version": "v8.83.26",
```

If the versions there are lower the your `composer update` didn’t go through properly and you should run that again and post the output here.

Sorry, that’s all off the top of my head…

---

_[View the full topic](https://discourse.roots.io/t/sage-9-php-8-0/22485)._
