php.ini/.user.ini Changes Not Taking Effect

If you made changes to your site's PHP initialization file (php.ini or .user.ini) but they aren't taking effect, use the following information to help resolve the issue.

  1. Make sure you're using the correct type of PHP initialization file.
  2. Understand your PHP initialization file's refresh rate:
    Filename Refresh Rate
    php.ini This only updates when a new PHP process is created, e.g. when a new visitor comes to your site. However, refreshing your own site you recently visited does not generate a new PHP process.
    .user.ini By default, the system reads this file every 5 minutes, so there is no need to do anything once you have made your changes.
  3. Try getting the server to recognize the updated file. Which process you use depends on your hosting account's operating system (more info).
    Type of hosting Process
    cPanel 結束 PHP 程序
    Plesk Recycle your application pool
    Web & Classic Linux
    Web & Classic Windows
    WordPress 託管 Managed WordPress accounts currently cannot end their Web or PHP processes. Because of this, you cannot easily refresh your PHP settings if you use php.ini, which drives our recommendation to use .user.ini files.

這篇文章有用嗎?
感謝您提供意見。 若要與客戶服務代表聯絡,請撥打支援中心電話號碼,或使用上方的對話選項。
很高興能幫上忙! 還有什麼可幫您的嗎?
很抱歉有這種情形。 請告訴我們您不了解的部分,或解決方案無法解決您問題的原因。