Files & Databases

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.

  1. Open Select PHP Version, then click the Options (or PHP Settings) tab.
  2. Adjust the values you need and save.

The settings you will most often change:

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.

Related articles

Using the file manager in DirhamHostUploading files to your websiteCreating an FTP accountFTP and SFTP settings and portsConnecting to your site with FileZilla