vanson

Registered
Apr 9, 2021
1
0
1
hcm
cPanel Access Level
Website Owner
I was having trouble installing laravel on cpanel, JSON module is also enabled in Cpanel
Uncaught Error: Interface 'JsonSerializable' not found in my Errors Cpanel
HTTP ERROR 500

cpanel.png
cpanel 2.png

My website

Thanks
 
Last edited:

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
599
193
343
cPanel Access Level
DataCenter Provider
That looks like CloudLinux's Alt-PHP, not cPanel's EasyApache. You may want to hit up CloudLinux support.

You may also want to run the following:

Code:
selectorctl --reset-user-extensions --version=VERSION --user=USER-NAME
Where VERSION is the PHP version (like 7.3 or 7.4) and USER-NAME is the cPanel user name. That resets the PHP options for the site (for that version of PHP) back to the ones you have selected. If you enable json but don't run the command the module is available, but not enabled for that site.

Depending on the options you have set you may also simply be able to enable json in cPanel for that site.
 
  • Like
Reactions: cPDavidL