Change PHP settings for my hosting account

If the default PHP settings for your hosting account don't meet the requirements of your website or application, follow these steps to change your PHP settings.

  1. Read our article about the filename for PHP initialization files and determine what this filename is for your hosting account. For example, if you have Windows Hosting with Plesk, this filename is .user.ini.
  2. Look for that filename in the root directory of your account. That's the file you need to edit in the next step.

    If you can't find that file in the root directory, use a text editor (for example, in cPanel use File Manager) to create the file and then save it in the root directory. Be sure you name the file as specified in our article.

  3. Edit the file: Linux Hosting | Windows Hosting | Web Hosting | Managed WordPress | VPS

    Example:

    memory_limit = 128M 
    max_input_vars = 2000
    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 120

    Note: For specific info on these PHP settings, see the PHP documentation for core php.ini directives.

  4. Take the necessary steps for the changes to take effect.
  5. Use a phpinfo file to confirm the changes are complete.

More info


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.