Git Product home page Git Product logo

Comments (3)

boenrobot avatar boenrobot commented on August 18, 2024

That error typically appears when PHP is not whitelisted in the OS' firewall.
(more precisely, not allowed to make outgoing connections)

I'm not entirely sure how you whitelist a binary under Debian... Probably using SELinux?

If PHP is running as an Apache module:

 setsebool -P httpd_can_network_connect 1 

And... I have no idea how if it's running as FCGI. If that's the problem, and you find out exactly how to whitelist the FCGI binary with SELinux, I'll appreciate it if you share the command for it, so that I can include it in the wiki.

from net_routeros.

brsnik avatar brsnik commented on August 18, 2024

We fixed it. It was a firewall setting. We are on php7, should we expect any problems?

Also we have another question I'll post about shortly..

from net_routeros.

boenrobot avatar boenrobot commented on August 18, 2024

Was it the setting I suggested above or something else? Could you share what you changed please?

I'm not aware of any PHP 7 specific issues. If you find any, you'll be the first to report such.

There's an issue with streams in later PHP 5.6 releases that is also inherently in PHP 7, but you're not going to encounter that unless you use charset conversion (which uses streams under the hood) or if you use actual seekable streams instead of strings.

If you REALLY need those, the "develop" branch in Net_Transmitter has that fixed already, though I'd not recommend mixing versions like that.

from net_routeros.

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.