Git Product home page Git Product logo

Comments (5)

liuch avatar liuch commented on May 27, 2024

Hello drder66,
Thank you for your report.

PHP Deprecated: Return type of...

The thing is, I also have php7.4 on my desktop and I don't see these warnings.

$ php -v
PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS )

Are you sure you are using php7.4? Can you explain to me how and where do you see these warnings with Deprecated?

SQLSTATE[HY000] [2002] No such file or directory

Try using 127.0.0.1 instead of localhost in your database connection settings. If it doesn't work, open the php.ini file and find this line: mysql.default_socket. Check the path to the mysql.sock file. Maybe you are using some framework and socket connections to MySQL are not allowed there?

from dmarc-srg.

drder66 avatar drder66 commented on May 27, 2024

My bad.
On the same machine Apache is using php7.4, but the cli is using php8.1

php -v
PHP 8.1.2 (cli) (built: Jan 27 2022 12:20:56) (NTS)
Copyright (c) The PHP Group

If I force dmarc-srg to use php7.4 then it works as expected. Using php8.1 reveals the deprecated messages and the SQL error
Thanks
Derek

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

You're welcome. I'll fix the warnings Deprecated anyway. As for the SQL error, I think that the problem is different.

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

I have just committed some fixes about this. Could you check out the warnings with your php8?

from dmarc-srg.

drder66 avatar drder66 commented on May 27, 2024

At the moment, your latest version is running clean with 8.1. I don't have any dmarc reports to process though; I should have some tomorrow.
Thanks

from dmarc-srg.

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.