This is strange. I've setup cPanel with TuxCare's php70 packages and the server is unable to find the json_encode/decode functions.
Any ideas where to check?
Solved.
I had to enable the extensions in /opt/alt/php70/etc/php.d/default.ini
Fuck cPanel.
Why not upgrade to PHP 8.x while you are at it?
If you want information, feign ignorance reply with the wrong answer. Internet people will correct you ASAP! It’s OK if you disagree with me. I can’t force you to be right!
@somik said: Why not upgrade to PHP 8.x while you are at it?
Not my code. And it's the worst code I've ever seen on a simple website.
Comments
Solved.
I had to enable the extensions in /opt/alt/php70/etc/php.d/default.ini
Fuck cPanel.
Why not upgrade to PHP 8.x while you are at it?
If you want information, feign ignorance reply with the wrong answer. Internet people will correct you ASAP!
It’s OK if you disagree with me. I can’t force you to be right!
Not my code. And it's the worst code I've ever seen on a simple website.