Re: Best option for php version 7?

2018-01-04 Thread Konstantin Olchanski
I have good luck with php rpms from webtatic, both el6 and el7,
used for mediawiki and for owncloud/nextcloud:

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum erase php
yum install mod_php71w php71w-opcache
yum install "php71w*" --exclude "*mysql*"


K.O.


On Thu, Jan 04, 2018 at 04:29:29PM -0600, ~Stack~ wrote:
> On 01/04/2018 12:54 PM, Steve Gaarder wrote:
> > I want to set up a web server with PHP version 7, preferrably 7.1 or
> > newer, which is not available in SL or EPEL.  What is the best (i.e.
> > stable and kept up-to-date) place to get it?
> 
> I've had lots of luck with https://ius.io/ and prefer it over Software
> Collections when I can.
> 
> I'm actively running PHP 7.1 from IUS on a production server and I run
> several of their packages across my data center.
> 
> Hope this helps!
> ~Stack~
> 




-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada


Re: Best option for php version 7?

2018-01-04 Thread ~Stack~
On 01/04/2018 12:54 PM, Steve Gaarder wrote:
> I want to set up a web server with PHP version 7, preferrably 7.1 or
> newer, which is not available in SL or EPEL.  What is the best (i.e.
> stable and kept up-to-date) place to get it?

I've had lots of luck with https://ius.io/ and prefer it over Software
Collections when I can.

I'm actively running PHP 7.1 from IUS on a production server and I run
several of their packages across my data center.

Hope this helps!
~Stack~



signature.asc
Description: OpenPGP digital signature


Re: Best option for php version 7?

2018-01-04 Thread Maarten
or software collections:
https://www.softwarecollections.org/en/scls/?search=php

via: yum-conf-softwarecollections.noarch


On 01/04/2018 08:20 PM, Maarten wrote:
> Try the remi repo: https://rpms.remirepo.net/enterprise/7/
>
>
> On 01/04/2018 07:54 PM, Steve Gaarder wrote:
>> I want to set up a web server with PHP version 7, preferrably 7.1 or
>> newer, which is not available in SL or EPEL.  What is the best (i.e.
>> stable and kept up-to-date) place to get it?
>>
>> thanks,
>>
>> Steve Gaarder
>> System Administrator, Dept of Mathematics
>> Cornell University, Ithaca, NY, USA
>> gaar...@math.cornell.edu


Re: Best option for php version 7?

2018-01-04 Thread Nico Kadel-Garcia
On Thu, Jan 4, 2018 at 1:54 PM, Steve Gaarder  wrote:
> I want to set up a web server with PHP version 7, preferrably 7.1 or newer,
> which is not available in SL or EPEL.  What is the best (i.e. stable and
> kept up-to-date) place to get it?


It's in the "Software Collections". Look at
http://ftp1.scientificlinux.org/linux/scientific/7/external_products/softwarecollections/
for details on how to enable it for Scientific Linux 7.x.

>
> thanks,
>
> Steve Gaarder
> System Administrator, Dept of Mathematics
> Cornell University, Ithaca, NY, USA
> gaar...@math.cornell.edu


Re: Best option for php version 7?

2018-01-04 Thread John Roberts
Hi,

I'm running an SL7.4 webserver with httpd24 and php71 from SoftwareCollections.

Install: yum-conf-softwarecollections

Then look at https://www.softwarecollections.org/en/scls/ to see what software 
you can pull in via SoftwareCollections.

You'll want to "yum install" at least:

httpd24
rh-php71-php

These get installed to /opt/rh/httpd24 and /opt/rh/rh-php70.  Httpd24 gets 
installed as a systemd service called "httpd24-httpd.service", ie. "systemctl 
status -l httpd24-httpd.service".

Good luck!

Cheers, John Roberts

- Original Message -
From: "Steve Gaarder" 
To: scientific-linux-us...@listserv.fnal.gov
Sent: Thursday, January 4, 2018 1:54:44 PM
Subject: Best option for php version 7?

I want to set up a web server with PHP version 7, preferrably 7.1 or 
newer, which is not available in SL or EPEL.  What is the best (i.e. 
stable and kept up-to-date) place to get it?

thanks,

Steve Gaarder
System Administrator, Dept of Mathematics
Cornell University, Ithaca, NY, USA
gaar...@math.cornell.edu


Re: Best option for php version 7?

2018-01-04 Thread Maarten
Try the remi repo: https://rpms.remirepo.net/enterprise/7/


On 01/04/2018 07:54 PM, Steve Gaarder wrote:
> I want to set up a web server with PHP version 7, preferrably 7.1 or
> newer, which is not available in SL or EPEL.  What is the best (i.e.
> stable and kept up-to-date) place to get it?
>
> thanks,
>
> Steve Gaarder
> System Administrator, Dept of Mathematics
> Cornell University, Ithaca, NY, USA
> gaar...@math.cornell.edu