searched the net, your script may need access /etc/hosts
so, check open_basedir, it blocks reading /etc/hosts, disable open_basedir
Thanks, but I don't see why the script would need access to the /etc/hosts file? Also, why would it work through the CLI but not in a browser or using WGET? There must be something in LiteSpeed which is blocking the request. It just hangs until the timeout value is reached.