Adjusting PHP settings (memory_limit, upload size)
If you see errors like Allowed memory size exhausted or cannot upload a large file, you can raise the relevant PHP limits in the DirhamHost panel.
- Open Select PHP Version, then click the Options (or PHP Settings) tab.
- Adjust the values you need and save.
The settings you will most often change:
- memory_limit - how much RAM a script may use. Raise to
256Mfor busy WordPress/WooCommerce sites. - upload_max_filesize - the largest single file you can upload, e.g.
64M. - post_max_size - must be equal to or larger than upload_max_filesize.
- max_execution_time - seconds a script may run before timing out, e.g.
120.
For uploads, remember to raise both upload_max_filesize and post_max_size, otherwise the smaller value wins. These limits exist to keep the shared server stable, so there is a maximum we allow; if you need more than the panel permits, a higher plan or VPS is the answer. Changes usually take effect immediately, but you can clear any cache to be sure. Unsure which value to change? Our team will advise - WhatsApp +971 58 553 6767, 24/7.
Still need a hand? Our UAE-based team is here 24/7.