Why is Sentora automatically installing PHP 5.5.9? I need minimum PHP 5.6 to install IPB sites, but whenever I install PHP 5.6 or PHP 7 then install Sentora it installs PHP 5.5.9 itself and starts using it making it impossible for me to install IPB sites. Can someone please help?
PHP Problem
|
This is because Sentora installs the OS's default php version from the original repositories. There is a tutorial around here that explains how to upgrade php to 5.6, But you need to make sure suhosin is installed and working! php 7 does not currently have a suhosin package and is therefore NOT recommended for production environments (Major security issue!)
(02-11-2017, 04:14 AM)TGates Wrote: This is because Sentora installs the OS's default php version from the original repositories. There is a tutorial around here that explains how to upgrade php to 5.6, But you need to make sure suhosin is installed and working! php 7 does not currently have a suhosin package and is therefore NOT recommended for production environments (Major security issue!) So if I were to use Ubuntu 14.04 then it will automatically install PHP 5.6 because I believe the default PHP version for Ubuntu 14.04 is 5.6?
I'm using Ubuntu 14.04 and it ships with 5.5.9
Code: Server OS: Ubuntu https://launchpad.net/ubuntu/trusty/+source/php5 Wrote:Versions published Thanks given by: worksmarter
Here is the guide working for CentOS - apply it to Ubuntu. I am an Ubuntu free zone, lol.
CentOS php upgrade Then see my post about SUHOSIN here: Properly compiling SUHOSIN (again for CentOS) BTW. I cannot understate how impimportant it is to compile SHUHOSIN and NOT install it from a repo. You cannot just install from a repo, SUHOSIN must be compiled from source to work properly. All of this works and none of it is supported. I will add php7 unless you are installing only one sort of server-side software is too new to be compatible with so many things you might want to host... Also if you enable repos other than standard you need to use something like yum-priorities, or how I do it is add exclude=XYZ in repos that want to change important versions of stuff supporting SENTORA and will no doubt break SENTORA. My guide is a one-liner for CentOS - and if you add an "echo" command at the end you can then just copy and paste it into a shell, it truly will do the compiling in a few seconds all you have to do then is add it to the proper ".ini" file so Apache parses it. For CentOS the upgrade to 5.6 also upgrades how it loads modules, you will see me note that in my post - make a file 20-suhosin.ini in the php.d directory... Good luck and keep in mind this stuff can easily destroy your install as you are seeing... (02-10-2017, 07:33 PM)sam8338 Wrote: Why is Sentora automatically installing PHP 5.5.9? I need minimum PHP 5.6 to install IPB sites, but whenever I install PHP 5.6 or PHP 7 then install Sentora it installs PHP 5.5.9 itself and starts using it making it impossible for me to install IPB sites. Can someone please help? The "simple answer" is you need to upgrade PHP AFTER you install SENTORA and it is working... See my comments above on upgrading in CentOS.
Everyone makes mistakes, but to truly screw up it takes the root password!
Thanks given by: TGates
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Problem with roundcube | pgh2011 | 0 | 2 ,583 |
01-30-2021, 12:48 AM Last Post: pgh2011 |
|
Import zpanel settings problem | pgh2011 | 0 | 2 ,631 |
12-30-2020, 07:08 PM Last Post: pgh2011 |
|
Senator crash problem with mysql | provokas | 3 | 10 ,802 |
08-20-2020, 04:11 AM Last Post: Your Creator |
Users browsing this thread: 1 Guest(s)