Req #29280 [Com]: Add php.ini option to set default proxy for wrappers

From: Date: Thu, 01 Aug 2019 18:10:06 +0000
Subject: Req #29280 [Com]: Add php.ini option to set default proxy for wrappers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222048@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=29280&edit=1 ID: 29280 Comment by: sid dot asad dot siddiqui at gmail dot com Reported by: Progman2002 at gmx dot de Summary: Add php.ini option to set default proxy for wrappers Status: Open Type: Feature/Change Request Package: Streams related Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: Having PHP respect the HTTP_PROXY environment variable would be great. Most programs do it. It was a surprise to see that PHP does not support it. It is even bigger surprise to see that there no way to set proxy globally. The only possible solution requires making modifications in the source, which is so much undesirable. Previous Comments: ------------------------------------------------------------------------ [2019-04-23 07:49:20] m dot weinstein at swp dot de It's 2019. Anything new on this issue? ------------------------------------------------------------------------ [2011-04-05 11:29:15] play4fun_82 at yahoo dot com 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). ------------------------------------------------------------------------ [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] pollita@php.net Ack! My bad... didn't see your note about making it an .ini option :) ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=29280 -- Edit this bug report at https://bugs.php.net/bug.php?id=29280&edit=1

« previous php.bugs (#222048) next »