[英]PHP Crashed EACCELERATOR
網站未加載到共享主機上。 在日志文件中,我看到此錯誤:
[notice] EACCELERATOR(12593): PHP crashed on opline 12 of main() at ...
我從未見過PHP crashed error
。 是什么原因造成的,以及如何解決? 注意我無權訪問php.ini
,在服務器的.htaccess中,我得到了以下信息:
# To set your custom php.ini, add the following line to this file:
# suphp_configpath /home/yourusername/path/to/php.ini
因此,我在publick_html文件夾中制作了php.ini
並將其放入文件中:
suphp_configpath /home/myhost/public_html/php.ini
eaccelerator.enable 0
eaccelerator.optimizer 0
然后我運行phpinfo();
看看加速器是否還在,並且
Version 0.9.6.1-ea
Caching Enabled true
Optimizer Enabled true
Check mtime Enabled true
Memory Size 16,777,152 Bytes
Memory Available 16,772,312 Bytes
Memory Allocated 4,840 Bytes
Cached Scripts 1
Removed Scripts 0
那么如何關閉它呢?
編輯。 請參閱:您需要在自定義php.ini中添加路徑到.htaccess(以便網絡服務器可以找到它)
.htaccess:
suphp_configpath /home/YOUR_USER_NAME_HERE/php.ini
/home/YOUR_USER_NAME_HERE/php.ini:
eaccelerator.enable 0
eaccelerator.optimizer 0
另外,請與您的托管服務提供商聯系,如果他們升級了某些內容並破壞了您的php安裝,則有責任解決此問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.