< All Topics Main Running Scripts Change PHP Limits Print Change PHP Limits Using a .user.ini file Open the File Manager in DirectAdmin. Navigate to your website’s public_html folder. Create a new file named .user.ini (note the leading dot). Add your desired limits to the file. For example: memory_limit = 512M upload_max_filesize = 128M post_max_size = 128M Save the file. It may take a few minutes for the server to recognize the change