Is it possible to setup PHProxy to use squid to lower bandwidth requirements? If so, would you be willing to help me out (for rep or $$)? I'm trying to setup squid so that I can use it from my home browser to make sure it is configured properly, but I'm not having much luck. Once I do get it to work, I need to know how to make phproxy use squid instead of connecting directly to the requested webservers. Thanks, Paul
What does SQUID does is to cache your static data such as images/static html. You need to install SQUID infront of your web server (eg. Apache). Let me know and I can setup for you for a fee. Thanks
I know what squid does I was trying to set it up as a transparent proxy, which I never did get to work. I did however, edit my proxy scripts to connect to squid . Thanks tho.
As far i know, PHProxy only works with the localhost (Where the script being host is always localhost ) . It most probably wouldn't work with a remote port. But you may ask this question to whytefire, who have made it
With phproxy 0.5b2? It works. Comment line 527 and add: $_socket = @fsockopen(localhost, 3128, $err_no, $err_str, 30); It works. Been using it since the weekend and haven't noticed any problems. This is with Squid setup on port 3128. Transparent proxy doesn't work (as far as I can tell), but doing the above way works.
It seems to be ok so far. I'm still making $5+ a day from adsense on my proxy sites. I figure I'm saving about 30-40% bandwidth depending on the amount of users on at a time. You gotta figure, myspace, bebo, etc, all the css and images are static, which can add up to the size of the actual source of the page. So, save yourself from downloading the images and static files, use some gzip goodness and save yourself a few bucks in the long run. You need alot of ram tho. I need to get more as Squid only has about 50-75 megs of ram to work with (only 512 RAM on the server). It adds a little extra load, but not bad. My server is a Celeron 1.9 GHz and I rarely go over 75% cpu usage between all the services running (Apache, MySQL, ProFTPD, Squid, Sendmail, a basic LAMP server really).
Yes, I host the site on my own, I pay for my hosting. No, it's not in my house, it's on a dedicated server in Florida.