XenForo on PHP7

Just a pointer, my torture.xf-liam.com VPS is on PHP7.

(That's all my sites, so XF Liam, liam-w.com, piwik etc)
 
Hi all , not sure if this is the right section but , I have attempted to use php7 on my shared hosting and I get the DB not available message when using it.
I revert back to 5.6 and all is fine.
Any ideas ?
 
Hi all , not sure if this is the right section but , I have attempted to use php7 on my shared hosting and I get the DB not available message when using it.
I revert back to 5.6 and all is fine.
Any ideas ?
Yeah - does your host support PHP 7? Very unusual that a shared hosting provider would have already adopted php7 into their environment. Who are you hosted with?
As to the issue - it sounds like when it's compiling PHP it's not including the mysqli PECL.
 
Yes, its 100% supported. I was on the chat with them asking what build we had of the php.

Ill give them another shout. Thanks for the very useful pointer.
 
The hosts are saying that mysql is now not supported in php7.

what are my options ?
Did you look closely at what PECL I specifically stated...
mysqli.
There is an "i" on the end of the mysql. THAT is the one they need to use.
mysqli is fully supported.
Screen Shot 2015-12-09 at 2.17.41 PM.webp Screen Shot 2015-12-09 at 2.17.59 PM.webp
 
I appreciate your time. Ill rephrase my question to my host.

Now working , they did some host voodoo...
 
Last edited:
Heads up, the update today for cPanel supporting PHP7 is very buggy with LiteSpeed. LiteSpeed, continues to restart from errors.

I highly recommend not upgrading cPanel to it yet.
 
There isn't much point using Suhosin on any modern version of php. It also introduces a non-trivial performance hit.

But at least it isn't suphp.
Oh, ok.
And I will still be safe then?

I will try without Suhosin.
 
Heads up, the update today for cPanel supporting PHP7 is very buggy with LiteSpeed. LiteSpeed, continues to restart from errors.

I highly recommend not upgrading cPanel to it yet.
Try disabling Huge Pages in the kernel. php's support for Huge Pages is buggy, even if you disable it in php.
 
Back
Top Bottom