Skip to main content
< All Topics
Print

Change PHP Limits

Using a .user.ini file
  1. Open the File Manager in DirectAdmin.
  2. Navigate to your website’s public_html folder.
  3. Create a new file named .user.ini (note the leading dot).
  4. Add your desired limits to the file. For example:
    memory_limit = 512M
    upload_max_filesize = 128M
    post_max_size = 128M
    

  5. Save the file. It may take a few minutes for the server to recognize the change