Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Build php pthreads 2 from source Date: Tue, 12 Jan 2016 21:19:50 +0100 Lines: 25 Message-ID: References: <3bbab9f2-e0fa-482a-a0b5-ffae6c1e9c80@googlegroups.com> <5b76ef5d-cbe1-4069-8e9b-a5c310e827d6@googlegroups.com> <9d820416-36be-4b6b-b68e-09be3b5b9273@googlegroups.com> <46cfe500-1750-45e7-91d3-42a3d69c069d@googlegroups.com> <71c53fb4-e3f9-4289-936e-c1bc783d4604@googlegroups.com> <6ec06fa1-1dc2-46e8-960a-9f39c01dd5b5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net T6uhIlmaBMUBIqddbXS/5AajHOXv2nE1EYRKGaDpcbwHya9p7c Cancel-Lock: sha1:keohPJxgFEmibkLBZGu+TK9pdCw= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <6ec06fa1-1dc2-46e8-960a-9f39c01dd5b5@googlegroups.com> Xref: csiph.com comp.lang.php:16221 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