If you read my previous tutorial on how to create your personal CGI proxy, you might want to have a PHP proxy too, so I decided to post this tutorial on how to create a free and reliable PHP proxy server. Free proxy servers are all over the internet but they are generally unreliable, so getting your own free PHP proxy server isn’t such a bad idea especially if you have been restricted from visiting certain sites.
With your own PHP proxy, you can unblock sites blocked by your school, employer, ISP or government. It’s easier bypassing internet restrictions and firewall with your own proxy site and there is also the added advantage of securing your internet privacy. Nobody gets to know what you’re up to online as you will always appear to be only visiting that proxy site.
Are you restricted from facebook, myspace, youtube and the rest of those sites you love to visit? Or are you just concerned about your online privacy? Then follow this guide and your proxy site will be up and running within one hour.
The following is required:
1. A hosting account: This can be a free or paid hosting account.
i. This hosting account must have PHP Compiler. This produces optimized stand alone applications, libraries, and Web applications from standard PHP source code. Almost all free web hosts has this so I don’t think it’s gonna be a problem. PHP scripts runs on almost all free web hosts
ii. The hosting account too must have safe mode turned off in it’s php.ini configuration file.
safe_mode = Off
allow_url_fopen = On
This allows your web proxy server to connect to other servers since this is exactly what you want it for. You can check out these free hosts or run a google search.
-30mb.co.uk
–x10hosting.com
–mobi.ps
2. A domain name or sub-domain: Some free hosts offer a sub-domain along with every free hosting account while some expect you to already have a domain name.
You can get a totally free domain name for your proxy server from these sites:
–www.dot.tk
-nic.cz.cc
-www.co.cc
-registry.cx.cc
-freedomain.ce.ms
3. The PHP proxy script: You can download the latest PHProxy version from the link below:
Now I believe you have a free hosting account with a domain name, right? It’s almost complete…unzip the contents in the file you downloaded earlier.
Now login to your hosting cpanel and upload to your domain root (www folder) or create a folder in your domain root.
-index.php
-style.css
-javascript.js
-PHProxy.class.php
That’s all you have to do and your free PHP proxy server is set up. Launch the address in which you upload the files and your PHP proxy server site loads. Enter your destination url in the box and you’re good to go. Any problem? Leave a comment!