Edit report at http://bugs.php.net/bug.php?id=29280&edit=1
ID: 29280 Comment by: play4fun_82 at yahoo dot com Reported by: Progman2002 at gmx dot de Summary: Add php.ini option to set default proxy for wrappers Status: Assigned Type: Feature/Change Request Package: Streams related Operating System: * PHP Version: * Assigned To: pollita Block user comment: N Private report: N New Comment: Hi, i have the same problem. My solution was to pass through proxy server with cntml tunneling tool. You configure cntml proxy to forward http request received on local host on a port to destination with proper authentication. And in pear u just configure >pear config-set http_proxy 127.0.0.1:3128 3128 - is port configuret in cntlm(it can be any other free port). Previous Comments: ------------------------------------------------------------------------ [2009-09-17 09:34:29] fuzzy76 at fuzzy76 dot net Is that a yes or a no on the ini option? :) I need to use a proxy in my office, and this makes testing webapps really difficult. ------------------------------------------------------------------------ [2008-06-04 19:07:46] r13ckj at gmail dot com I was just wondering whether this has been implemented? My problem is outlined here: http://forums.devshed.com/php-development-5/default-proxy-settings-for-php4-5t-534829.html#post2054576 I've spent countless hours on this problem, so any help would be much appreciated. ------------------------------------------------------------------------ [2004-07-24 06:19:45] poll...@php.net Ack! My bad... didn't see your note about making it an .ini option :) ------------------------------------------------------------------------ [2004-07-24 06:17:47] poll...@php.net Dunno why this was assigned to me when wez implemented it :) Closing it up. You can either grab the snapshot from snaps.php.net otherwise your wait will be until 5.1.0 is released. ------------------------------------------------------------------------ [2004-07-22 16:47:53] progman2002 at gmx dot de works fine. ---- PHPs snip ---- $opts = array('http' => array('request_fulluri' => true, 'proxy' => 'tcp://192.168.0.1:8080')); stream_context_get_default($opts); ---- eos ---- works also as... ---- PHPs snip ---- $context = stream_context_get_default(); stream_context_set_option($context, 'http', 'proxy', 'tcp://192.168.0.1:8080'); stream_context_set_option($context, 'http', 'request_fulluri', true); ---- eos ---- ... does So, now I must wait until it is in the non-cvs package ;) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=29280 -- Edit this bug report at http://bugs.php.net/bug.php?id=29280&edit=1