To enable the exif extension in cPanel as an admin, follow these steps:
1.Log into WHM (Web Host Manager):
Go to your WHM panel (usually accessible at https://yourdomain.com:2087).
2.Navigate to EasyApache 4:
In the search bar, type "EasyApache 4" and select it from the list.
3.Customize Your Profile:
In EasyApache 4, click on "Customize" to modify your PHP installation settings.
4.Select PHP Extensions:
Click on the PHP Extensions tab.
Search for "exif" in the list of available extensions.
5.Enable the exif Extension:
Find the exif extension for the PHP version(s) you are using (e.g., PHP 7.4, PHP 8.0, etc.).
Check the box next to exif for the desired PHP version(s).
6.Review and Provision:
After selecting the exif extension, click Next to review your configuration.
Click Provision to apply the changes. This process will install and enable the exif extension.
7.Verify and Restart:
Once the provisioning is complete, you can verify that the exif extension is active by going to cPanel > Select PHP Version > Extensions and confirming that exif is checked.
No additional restart is usually necessary, but you can reload your application to ensure the changes have taken effect.
After completing these steps, the exif extension should be enabled, and the Intervention\Image\Exception error in Flarum should be resolved.