Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26015 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46576 invoked by uid 1010); 10 Oct 2006 18:15:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46556 invoked from network); 10 Oct 2006 18:15:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2006 18:15:32 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.203 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.203 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.203] ([64.233.162.203:57955] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/80-25847-143EB254 for ; Tue, 10 Oct 2006 14:15:30 -0400 Received: by nz-out-0102.google.com with SMTP id 8so452796nzo for ; Tue, 10 Oct 2006 11:15:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=Ah5ROm6DSqYOgzCzuMjVxyZcXW8iV6Z4vms3OBiALXjo9vdDHa38cH3rKc1wZqx0ERwjmVJR19qLsIEyJQlaj8N0/Fl4DJSpyYo8xIqASDyxyPyYVpPbx8iveKA1rfVLy4oL1nmsyFEvzCkEguvSKMs6JRilT8400iwCLoJr6/w= Received: by 10.65.237.19 with SMTP id o19mr5896180qbr; Tue, 10 Oct 2006 11:15:24 -0700 (PDT) Received: from ?192.168.1.6? ( [74.108.68.217]) by mx.google.com with ESMTP id e13sm708561qbe.2006.10.10.11.15.23; Tue, 10 Oct 2006 11:15:23 -0700 (PDT) In-Reply-To: <452BE06F.9030505@gmx.net> References: <452BE06F.9030505@gmx.net> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <1FF393CC-6CFB-4876-BD25-27BA36354F06@prohost.org> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Tue, 10 Oct 2006 14:15:22 -0400 To: Dirk X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] php engine as shared library? From: ilia@prohost.org (Ilia Alshanetsky) Embed sapi is probably what you are looking for. On 10-Oct-06, at 2:03 PM, Dirk wrote: > Hi! > I didn't find a better place to ask... > > I would like to know what I'd have to do to link a small server > written > in C against a _shared_(!) libphp(!)... > > I had a look at php-cli and mod_php but both seem to link everything > static which isn't what I want... I also had a look at the options of > the configure script... > > ..but ended up subscribing here... > > > How do I compile the whole php engine as a shared lib? It must work > somehow... Why else would there be something like php-config? > > > Please, somebody, lemme know what todo/read... > > Thanks, > Dirk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky