Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 975
    • Issues 975
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • Core
  • Issues
  • #360

Closed
Open
Opened Aug 23, 2018 by sudoman@sudoman

Can CIviCRM honor outbound proxies set site-wide for PHP applications?

Is there a way to encourage CiviCRM to use an outbound proxy that is set system-wide for PHP applications? This is the format of our config in /etc/php/set_proxy.php:

<?php
$stream_default_opts = array(
  'http'=>array(
    'proxy'=>"tcp://proxy.example.com:8118",
    'request_fulluri' => true,
 ),
  'https'=>array(
    'proxy'=>"tcp://proxy.example.com:8118",
    'request_fulluri' => true,
 )
);

stream_context_set_default($stream_default_opts);

putenv('http_proxy=http://proxy.example.com:8118');
putenv('https_proxy=http://proxy.example.com:8118');
?>

However CiviCRM seems to ignore this setting at least some of the time: #324

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#360