Failed to resize image (v2022)

Hi All.My project generated with v2022 12.4 running well in XAMPP, but when I uploaded it at godaddy hosting server and I tried to upload image, it show error as

"Failed to resize image (original, thumbnail)"All necessary php v8.2 extension are enabled in godaddy server. it is not working on godady server, but properly working on localhost with XAMPP.I contacted godaddy support team they say there is problem in your code, not at our end. Kindly, can anyone help me on the issue.Thank for reading my problem.

Please note that Resizing requires PHP GD extension and supports GIF, JPEG and PNG only.

Thanks for reply, I know PHP GD extension should be enabled. The project is running well on localhost but not on godaddy server. Hosting provider also enabled GD library, but still image uploading generate same error.

Have you checked permission for the upload folder in your production server? Is it writable?

Sir, I checked the permission, it is writable (755).

Please enable debug and check http response to see the cause in more detail.

Sir, thank you for your reply. I want to share the solution.
There was 8.1 default version of php and in extension, I found 3 libraries that is, gd, gmagick, imagick. Both gd and imagick was enabled. When I changed the PHP version from 8.1 to 8.0 and enabled only GD extension, image uploading worked successfully.
Now I want to, may I not use PHmaker version 2022 with PHP version 8.1.