Git Product home page Git Product logo

Comments (8)

bochoven avatar bochoven commented on August 18, 2024 1

I don't think we want to keep supporting EOL versions of PHP, so I'm closing this issue. I think we need to update the docs so it's clear that PHP 7 is not supported anymore in MunkiReport 5.8

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Is your server running php 8.x?

from munkireport-php.

doits avatar doits commented on August 18, 2024

Thanks for your help. It is indeed running v7.4.3. Can this be the cause of the error?

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Yes, that is probably the reason. Composer will install a newer version of DBAL when PHP is upgraded

from munkireport-php.

bochoven avatar bochoven commented on August 18, 2024

Make sure to run composer update after you update the PHP version on the server

from munkireport-php.

doits avatar doits commented on August 18, 2024

I run composer update before running the migrations, so it should be up to date.

I just checked it installs doctrine/dbal 3.6.3 (latest version) even with my php 7 version, and with this version the migration failed.

According to https://stackoverflow.com/a/65075035 the downgrade fixes the error about the missing class (which it did for me). Looks like the class does not exist in dbal 3, see doctrine/dbal#4439? For me it looks like there might be an error using Doctrine\DBAL\Driver\PDOMySql\Driver with dbal 3, but this is just a guess.

I will update to php 8 soon to be on the supported version – for now everything seems to work even with php 7 after the migration completed with the old dbal 2 version.

from munkireport-php.

doits avatar doits commented on August 18, 2024

Aah probably it is because illumniate/database is incompatible with dbal 3 ... it installs v7.30.6 for me, probably the later versions are not compatible with php 7.

from munkireport-php.

doits avatar doits commented on August 18, 2024

Seems to be only supported from v8.15.0 onwards, see https://github.com/laravel/framework/releases/tag/v8.15.0

Added Support DBAL v3.0 (laravel/framework#35236)

from munkireport-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.