How to setup the script through proxy?

Hello! There is a problem about proxy, is it enough like I do. I change it in the settings of chrome, like so:
settings->show advanced settings->change proxy settings-server->configure local network settings
then in proxy server fill in the fields address and port with the ip site

The script is open-server works fine, but go to any website, the browser will not. With other browsers too, then there is probably a system setting.

Is that enough? maybe better in the script in curl_setopt to change ip ?
Tried to add
curl_setopt($ch, CURLOPT_PROXY, '');
curl_setopt($ch, CURLOPT_PROXYPORT, '80');

Further, to make sure that the ip changed in the script output the ip
$pageText =new Curl();
$ip_url = '';
echo $pageip=$pageText->get_page($ip_url);

In principle I see that the ip changes, but the script begins to run very slowly and blank data. I ask knowing people, advise how to.
July 2nd 19 at 18:03
2 answers
July 2nd 19 at 18:05
1. frišnyh proxies often die, and the speed does not Shine.
2. if you need to script through the proxy where to climb korlam, then configure curl, not chrome. On the LAN may work if the browser changes the settings of the OS, but the browser where you will take on a separate host/server?
Work on my local server, but noticed that even if you change the proxy settings in the browser, then the output of ip issues is not configured ip, and my own... - rodrick_Trantow commented on July 2nd 19 at 18:08
July 2nd 19 at 18:07
Good day.
Proxies in curl you are giving correctly.
On the topic of free proxies from - I recently tried using them to parse and after the test realized on the list of really only worked 2 ip and then not for long. So if you want to use a proxy, but it is advisable to use a certified list, and is usually paid. And to be honest - even the paid ones don't always work 100%, but in General just better free.

Find more questions by tags ProxyParsingPHP