So I've got this php script that queries a web service a lot. I'm running into errors because I query it too fast and I thought that perhaps it bases this on IP.
I run the script from the command line so it only uses the base IP of the vps right now. I've got a VPS and 4 IPs I can use for it but I'm not sure how to make php use the different IPs. I'm no linux guru so this is stumping me. I suppose one method is install a proxy that routes through the other IPs maybe then I can spawn off subprocesses that use them appropriately is there any other way to do this?
I run the script from the command line so it only uses the base IP of the vps right now. I've got a VPS and 4 IPs I can use for it but I'm not sure how to make php use the different IPs. I'm no linux guru so this is stumping me. I suppose one method is install a proxy that routes through the other IPs maybe then I can spawn off subprocesses that use them appropriately is there any other way to do this?