Giter VIP home page Giter VIP logo

Comments (5)

villejus avatar villejus commented on May 29, 2024

I have the same issue trying via my test script via Apache. However, same test php-script via command line works.. This is an SELinux issue, which I am not sure how to avoid other than disabling SELinux until time being.

from ping.

iandk avatar iandk commented on May 29, 2024

Same issue, CLI works, Web does not

from ping.

Luxian avatar Luxian commented on May 29, 2024

I would say it's most probably a limitation of the web server. When calling $ping->ping() with no arguments, you are using the exec method (which might be very limited).

Try the other methods: $ping->ping('fsockopen'), $ping->ping('socket').

from ping.

arafatx avatar arafatx commented on May 29, 2024

I have the same issue trying via my test script via Apache. However, same test php-script via command line works.. This is an SELinux issue, which I am not sure how to avoid other than disabling SELinux until time being.

my SELinux is disabled. Not an issue here.

I would say it's most probably a limitation of the web server. When calling $ping->ping() with no arguments, you are using the exec method (which might be very limited).

Try the other methods: $ping->ping('fsockopen'), $ping->ping('socket').

this doesn't validate fake domain which should return "No host".

from ping.

stale avatar stale commented on May 29, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ping.

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.