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


Groups > comp.lang.php > #16221

Re: Build php pthreads 2 from source

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Build php pthreads 2 from source
Date 2016-01-12 21:19 +0100
Message-ID <dfl5f6FidafU1@mid.individual.net> (permalink)
References (6 earlier) <46cfe500-1750-45e7-91d3-42a3d69c069d@googlegroups.com> <n73111$49q$1@jstuckle.eternal-september.org> <71c53fb4-e3f9-4289-936e-c1bc783d4604@googlegroups.com> <dfkoipFf136U1@mid.individual.net> <6ec06fa1-1dc2-46e8-960a-9f39c01dd5b5@googlegroups.com>

Show all headers | View raw


On 01/12/2016 05:52 PM, James Wang wrote:
> On Tuesday, 12 January 2016 16:40:05 UTC, J.O. Aho  wrote:
> 
>> You need to enable ZTS when you configure PHP source before compiling.
>>
>> ./configure --enable-maintainer-zts ...
>>
> 
> 
> Indeed. I did that when I built php7 from source.
> 
> The error was for already installed php (5.3.29)
> 
> Thanks a lot
> 
> 

You need to rebuild the php5 too if you want it to support pthreads.
By default everything will try to build against your php5 unless you
specifically tell it to build against php7.


-- 

 //Aho

Back to comp.lang.php | Previous | NextPrevious 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