This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

PHP Problem
#5
RE: PHP Problem
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!
Reply
Thanks given by: TGates


Messages In This Thread
PHP Problem - by sam8338 - 02-10-2017, 07:33 PM
RE: PHP Problem - by TGates - 02-11-2017, 04:14 AM
RE: PHP Problem - by sam8338 - 02-12-2017, 12:32 AM
RE: PHP Problem - by TGates - 02-12-2017, 03:03 PM
RE: PHP Problem - by worksmarter - 02-12-2017, 04:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Problem with roundcube pgh2011 0 2 ,302 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 2 ,301 12-30-2020, 07:08 PM
Last Post: pgh2011
Senator crash problem with mysql provokas 3 9 ,716 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 1 Guest(s)