Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16219

Re: Build php pthreads 2 from source

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Build php pthreads 2 from source
Date Tue, 12 Jan 2016 17:39:53 +0100
Lines 24
Message-ID <dfkoipFf136U1@mid.individual.net> (permalink)
References <3bbab9f2-e0fa-482a-a0b5-ffae6c1e9c80@googlegroups.com> <n709mv$fqn$1@jstuckle.eternal-september.org> <5b76ef5d-cbe1-4069-8e9b-a5c310e827d6@googlegroups.com> <n70fv5$937$1@jstuckle.eternal-september.org> <9d820416-36be-4b6b-b68e-09be3b5b9273@googlegroups.com> <n70opr$e8p$1@jstuckle.eternal-september.org> <46cfe500-1750-45e7-91d3-42a3d69c069d@googlegroups.com> <n73111$49q$1@jstuckle.eternal-september.org> <71c53fb4-e3f9-4289-936e-c1bc783d4604@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net 5pelC5NbJvZFM4Irmox8ggutKSl3/xAFfQcWXfZsBsuPzMir3K
Cancel-Lock sha1:Y/WByuzYYTd5Zq9iWtT/NVnDo1g=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To <71c53fb4-e3f9-4289-936e-c1bc783d4604@googlegroups.com>
Xref csiph.com comp.lang.php:16219

Show key headers only | View raw


On 01/12/2016 03:23 PM, James Wang wrote:
> On Tuesday, 12 January 2016 14:04:57 UTC, Jerry Stuckle  wrote:
> 
>> Yes, and I gave you the link on how to build it.  You use the PECL
>> command to download and install the packages.  You can use it to install
>> any version of any package in the PECL library, i.e.
>>
>> pecl install pthreads-2.0.10
> 
> Thanks a lot indeed (though, i had: configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled)
> 
> Update: I built php7 from source and installed pthreads using php7's pecl tool
> 
> Thanks again
> 

You need to enable ZTS when you configure PHP source before compiling.

./configure --enable-maintainer-zts ...


-- 

 //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-11 03:07 -0800
  Re: Build php pthreads 2 from source Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 08:14 -0500
    Re: Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-11 06:24 -0800
      Re: Build php pthreads 2 from source Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 10:01 -0500
        Re: Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-11 07:36 -0800
          Re: Build php pthreads 2 from source Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 12:32 -0500
            Re: Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-12 01:58 -0800
              Re: Build php pthreads 2 from source Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-12 09:04 -0500
                Re: Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-12 06:23 -0800
                Re: Build php pthreads 2 from source "J.O. Aho" <user@example.net> - 2016-01-12 17:39 +0100
                Re: Build php pthreads 2 from source James Wang <jwang25610@gmail.com> - 2016-01-12 08:52 -0800
                Re: Build php pthreads 2 from source "J.O. Aho" <user@example.net> - 2016-01-12 21:19 +0100

csiph-web