We first log in to DirectAdmin Web Control Panel.
Connect to your DirectAdmin account as a user.
Once in the "User" area, navigate to "Extra Features" → "Select PHP version".
Select the PHP options and scroll down then you can find the options.
You can find the options for "upload_max_filesize" and "post_max_size" which can be adjusted to the values to your requirements.