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


Groups > comp.lang.php > #15990 > unrolled thread

help building PHP from source

Started bycrankypuss <invalid@invalid.invalid>
First post2015-12-26 12:26 -0700
Last post2015-12-27 02:26 -0700
Articles 6 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  help building PHP from source crankypuss <invalid@invalid.invalid> - 2015-12-26 12:26 -0700
    Re: help building PHP from source Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-26 17:36 -0500
      Re: help building PHP from source crankypuss <invalid@invalid.invalid> - 2015-12-27 00:43 -0700
        Re: help building PHP from source Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-27 11:10 -0500
    Re: help building PHP from source "J.O. Aho" <user@example.net> - 2015-12-27 08:33 +0100
      Re: help building PHP from source crankypuss <invalid@invalid.invalid> - 2015-12-27 02:26 -0700

#15990 — help building PHP from source

Fromcrankypuss <invalid@invalid.invalid>
Date2015-12-26 12:26 -0700
Subjecthelp building PHP from source
Message-ID<n5mpge$s76$1@dont-email.me>
I need to build PHP from source and freeze it so my junk will remain 
consistently junky without perturbations from future releases.  In 
building the cli version I want to include the ncurses extension but how 
to do that is unclear to me.  Does anyone here have that kind of 
experience or do I need to look elsewhere?  TIA.

-- 
http://totally-portable-software.blogspot.com
  [Sun Nov 22: "Total Portability is not binary"]

[toc] | [next] | [standalone]


#15991

FromJerry Stuckle <jstucklex@attglobal.net>
Date2015-12-26 17:36 -0500
Message-ID<n5n4jk$6ij$1@jstuckle.eternal-september.org>
In reply to#15990
On 12/26/2015 2:26 PM, crankypuss wrote:
> I need to build PHP from source and freeze it so my junk will remain 
> consistently junky without perturbations from future releases.  In 
> building the cli version I want to include the ncurses extension but how 
> to do that is unclear to me.  Does anyone here have that kind of 
> experience or do I need to look elsewhere?  TIA.
> 

It's been probably 10 years or more since I've compiled PHP by hand (I
use Debian and Ubuntu packages).  However, ncurses is a PECL extension,
and this page should help you:

http://php.net/manual/en/install.pecl.static.php

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#15993

Fromcrankypuss <invalid@invalid.invalid>
Date2015-12-27 00:43 -0700
Message-ID<n5o4lc$od0$1@dont-email.me>
In reply to#15991
Jerry Stuckle wrote:

> On 12/26/2015 2:26 PM, crankypuss wrote:
>> I need to build PHP from source and freeze it so my junk will remain
>> consistently junky without perturbations from future releases.  In
>> building the cli version I want to include the ncurses extension but
>> how
>> to do that is unclear to me.  Does anyone here have that kind of
>> experience or do I need to look elsewhere?  TIA.
>> 
> 
> It's been probably 10 years or more since I've compiled PHP by hand (I
> use Debian and Ubuntu packages).  However, ncurses is a PECL
> extension, and this page should help you:
> 
> http://php.net/manual/en/install.pecl.static.php

Thanks Jerry.  I'm surprised to see you're still here, figured you would 
be retired and doing other things by now.

-- 
http://totally-portable-software.blogspot.com
  [Sun Nov 22: "Total Portability is not binary"]

[toc] | [prev] | [next] | [standalone]


#15995

FromJerry Stuckle <jstucklex@attglobal.net>
Date2015-12-27 11:10 -0500
Message-ID<n5p2dd$mof$1@jstuckle.eternal-september.org>
In reply to#15993
On 12/27/2015 2:43 AM, crankypuss wrote:
> Jerry Stuckle wrote:
> 
>> On 12/26/2015 2:26 PM, crankypuss wrote:
>>> I need to build PHP from source and freeze it so my junk will remain
>>> consistently junky without perturbations from future releases.  In
>>> building the cli version I want to include the ncurses extension but
>>> how
>>> to do that is unclear to me.  Does anyone here have that kind of
>>> experience or do I need to look elsewhere?  TIA.
>>>
>>
>> It's been probably 10 years or more since I've compiled PHP by hand (I
>> use Debian and Ubuntu packages).  However, ncurses is a PECL
>> extension, and this page should help you:
>>
>> http://php.net/manual/en/install.pecl.static.php
> 
> Thanks Jerry.  I'm surprised to see you're still here, figured you would 
> be retired and doing other things by now.
> 

I am kinda semi-retired.  But the wife won't let me retire completely;
she can't stand me hanging around the house doing nothing all day :)

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#15992

From"J.O. Aho" <user@example.net>
Date2015-12-27 08:33 +0100
Message-ID<de9iilFfhq4U1@mid.individual.net>
In reply to#15990
On 12/26/2015 08:26 PM, crankypuss wrote:
> I need to build PHP from source and freeze it so my junk will remain 
> consistently junky without perturbations from future releases.  In 
> building the cli version I want to include the ncurses extension but how 
> to do that is unclear to me.  Does anyone here have that kind of 
> experience or do I need to look elsewhere?  TIA.
> 

Recommendation is to avoid to build it yourself, as this leads to the
next issue, security vulnerability updates, as you will not get those
automatically, you need to keep your eyes open for those yourself and in
worst case you have to rebuild it multiple times in a short time.

Better to install nucrses as Jerry said from PECL, 'sudo pecl install
ncurses' or switch to a distribution which includes it as a package, as
it's safer as you other wise have to keep track of...

-- 

 //Aho

[toc] | [prev] | [next] | [standalone]


#15994

Fromcrankypuss <invalid@invalid.invalid>
Date2015-12-27 02:26 -0700
Message-ID<n5oanj$7vr$1@dont-email.me>
In reply to#15992
J.O. Aho wrote:

> On 12/26/2015 08:26 PM, crankypuss wrote:
>> I need to build PHP from source and freeze it so my junk will remain
>> consistently junky without perturbations from future releases.  In
>> building the cli version I want to include the ncurses extension but
>> how
>> to do that is unclear to me.  Does anyone here have that kind of
>> experience or do I need to look elsewhere?  TIA.
>> 
> 
> Recommendation is to avoid to build it yourself, as this leads to the
> next issue, security vulnerability updates, as you will not get those
> automatically, you need to keep your eyes open for those yourself and
> in worst case you have to rebuild it multiple times in a short time.
> 
> Better to install nucrses as Jerry said from PECL, 'sudo pecl install
> ncurses' or switch to a distribution which includes it as a package,
> as it's safer as you other wise have to keep track of...

Understood, and thanks for the heads-up re security updates.  

This is specifically for a set of linux cli backup + recovery + install 
utilities that need a constant language base independent from whatever 
version of PHP might be installed for general use, upgraded, have its 
configs changed, etc., so they can run consistently even when the 
hosting/target system itself doesn't have PHP installed.

About all that's necessary for these utilities (aside from the basic 
data-handling builtins) is ncurses, filesystem functions, posix 
functions, date/time, and compression; I think the potential security 
exposures fall to the linux core-commands, which aren't affected by PHP 
security updates anyway.  

If I'm overlooking something please let me know.

-- 
http://totally-portable-software.blogspot.com
  [Sun Nov 22: "Total Portability is not binary"]

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web