|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
[OpenBSD][PHP] Could not resolve host
hi. today i encountered a problem and solved now.
i search in google but not found any solution for this problem. so after most research in google finally find this post. i cant find any page in OpenBSD resources.(or my mistake ) what is problem. my problem is start from curl function in php. curl return curl Could not resolve host. ooops, OpenBSD Config is Ok, so problem is exists. so after most research, i understand is relation between curl and gethostbyname php function. so when run gethostbyname in php , output is not currect. finally, i solved this problem by copy /etc/resolv.conf and /etc/services to /var/www/etc/. good luck. |
|
|||
Quote:
but what are Device special files? |
Tags |
curl, gethostbyname, php |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
can't resolve packages | philo_neo71 | OpenBSD Packages and Ports | 2 | 21st August 2019 02:56 PM |
packet loss 2% when pinging to OpenBSD 5.5 host | mbw | OpenBSD General | 7 | 27th September 2015 04:11 AM |
Can't install ...... : can't resolve ...... | Monti | OpenBSD Packages and Ports | 11 | 19th April 2015 01:24 AM |
OpenBSD as host for VirtualBox | gpatrick | OpenBSD General | 15 | 9th May 2012 02:22 AM |
my pf won't allow my server to resolve | revzalot | OpenBSD Security | 21 | 12th September 2009 10:39 AM |