Giter VIP home page Giter VIP logo

Comments (3)

ek9 avatar ek9 commented on July 2, 2024

Hi @robteifi,

Thank you for feesback, this is worth considering. Could I ask you what distribution (OS) and environment you run the tests with? From my personal experience most distributions (i.e. Debian, Ubuntu, Arch Linux and the like) usually have memory_limit set to -1 when PHP is executed via commandline (like in most cases when running PhpSpec).

For example, debian has this defined in /etc/php/7.0/cli/php.ini.

This is not to say that it isn't worth updating documentation so this is mentioned, I am just curious regarding the setup.

from phpspec-code-coverage.

robteifi avatar robteifi commented on July 2, 2024

This is on Ubuntu 16.04 installing PHP from the ppa:ondrej/php repository.

As you say the standard cli/php.ini does have memory_limit set to -1, but the phpdbg/php.ini doesn't.

from phpspec-code-coverage.

ek9 avatar ek9 commented on July 2, 2024

Ubuntu or debian packages that come from official ubuntu or debian repositories do not even have phpdbg specific php.ini file as that would not be necessary:

phpdbg should just rely on the standard php.ini for PHP CLI. However, custom ppas come with customisations like that which can get in the way.

I have added a mention regarding memory_limit in the README of the project.

Thank you for feedback. Closing.

from phpspec-code-coverage.

Related Issues (17)

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.