Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RHEL6 PHP curl fails if network started after apache starts

    Posted on

    I do development on my RHEL6 laptop with a wireless device. The wireless network does not start until I log into the GDM session. This means apache starts before the network starts. Anyway, I find that PHP curl calls do not work unless apache is restarted. The curl requests fail to do work due to inability of curl to resolve hostnames. This simple request will fail unless apache is restarted:

    
    

    Anybody have ideas on this?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat