The uploaded file exceeds the upload_max_filesize directive in php.ini

Trying to upload a premium plugin but facing this issue “The uploaded file exceeds the upload_max_filesize directive in php.ini.” Please help me to solve the issue.

#upload_max_filesize

The error message is telling you exactly what the issue is with your Origin server, so that is probably the best place to start. The configuration of your PHP environment is outside the scope of this Community.

Initially there is no such file (php.ini) in the server, then i create it manually and update the file with required info
file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

but still I’m facing the same issue.

Same answer that I gave you earlier applies:

This is a forum for Cloudflare products and services and not a general web server configuration forum. Stackoverflow might be the best place to go for help.