Control Web Panel

WebPanel => PHP => Topic started by: jonathan1 on September 08, 2017, 10:19:28 PM

Title: configured 7.1 the way I like it, how do I set as default?
Post by: jonathan1 on September 08, 2017, 10:19:28 PM
I configured php 7.1 to be exactly as I want, but I'm unclear how to set it as the default so that it doesn't change any of the config options or parameters.

How would I do that?
Title: Re: configured 7.1 the way I like it, how do I set as default?
Post by: jonathan1 on September 09, 2017, 04:59:17 AM
This article fixed my issue

http://wiki.centos-webpanel.com/php-version-switcher

I added this to /7.1.ini

[pdo-pgsql]
default=1
option="--with-pdo-pgsql=/usr"
info-file=pdo-pgsql.txt

I needed to add PDO pgsql support to PHP.
Title: Re: configured 7.1 the way I like it, how do I set as default?
Post by: 24x7servermanagement on September 09, 2017, 09:22:56 PM
Yes, that's correct.  :)