Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86791 invoked from network); 8 Jun 2012 21:38:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jun 2012 21:38:08 -0000 Authentication-Results: pb1.pair.com header.from=robert@xarg.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=robert@xarg.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain xarg.org from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: robert@xarg.org X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:57675] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/01-14521-0C072DF4 for ; Fri, 08 Jun 2012 17:38:08 -0400 Received: by obbuo13 with SMTP id uo13so3494830obb.29 for ; Fri, 08 Jun 2012 14:38:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=quEDQGv1kJAGbLd3BOfzZrc+HNhgSB0+QrMTbetafMY=; b=iOEnQpA/HrRnGKuBx97Be8fInkhfyumBmVOHvNm7mChTCmwo7Rjxx6KhdpIVgRjxpC mcud9IZGOMlKLESkFT0E4GnEz3Oemmsm8YhjKa5qD+jogj/K32zSHq2SOP2TZ4/FD0PU oekYujol8036DUlUdZDWQFxO0130EZEHoc8JESozzXbw6uckwON6c4Qwqyvbv4CzOfXP 5uSNy9jdR+QyuAdVUnNLKpwetwKorlytOk4ZxPnE/dEYRDOSNPNxiHXHmlkHx1t9TPFw FFUWQxwUhu+yjZw+IX18SsxMu9LV0m0uzRHM/zXsdiuEDy/fGZPN05UbkC/Gzjt99OYT TBXw== MIME-Version: 1.0 Received: by 10.60.26.65 with SMTP id j1mr3494774oeg.9.1339191485656; Fri, 08 Jun 2012 14:38:05 -0700 (PDT) Received: by 10.60.135.2 with HTTP; Fri, 8 Jun 2012 14:38:05 -0700 (PDT) X-Originating-IP: [87.149.69.183] Date: Fri, 8 Jun 2012 23:38:05 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=e89a8fb1eef4c9efc204c1fcd097 X-Gm-Message-State: ALoCoQnuKk7b/sp7JCiEZPvFOEXLVbCV8SBjG6O420YYQteDA44r8gjYgZa9JnoxcXtw5huL/TqA Subject: Static library binding From: robert@xarg.org (Robert Eisele) --e89a8fb1eef4c9efc204c1fcd097 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a kind of stupid question. I run PHP inside a fpm chroot jail for a lot of vhosts, each vhost with it's own pool. Unfortunatley, I can't connect to remote domains neither via the native file api (assumed allow_url_fopen is on) nor via curl. I don't want to copy all the libs into the jails. So, is there an easy way to link the needed dns libs statically to PHP? For ease of use, this could be a nice configure parameter, like "link it chroot compatible". It must, of course, be made clear that the user is responsible for security updates of the libraries. Thanks Robert --e89a8fb1eef4c9efc204c1fcd097--