我的Magento网站遇到问题。我试图增加我尝试用.htaccess做的内存限制,现在我正在尝试使用php.ini文件。
但是,当我创建一个php.ini文件时,我在任何公共或管理页面上都会出现此错误,magento会出现一个通用错误“处理您的请求时出错”。日志文件中似乎也没有任何内容。
php.ini文件的内容如下所示,我已经尝试了它只需要我需要的部分加上其他任何内容,任何php.ini文件都会破坏它
有关php.ini文件破坏网站的任何帮助都将非常感谢,
谢谢, 马特
; This file is for CGI/FastCGI installations.
; Try copying it to php5.ini, if it doesn't work
; adjust memory limit
memory_limit = 128M
max_execution_time = 18000
; disable magic quotes for php request vars
magic_quotes_gpc = off
; disable automatic session start
; before autoload was initialized
flag session.auto_start = off
; enable resulting html compression
zlib.output_compression = on
; disable user agent verification to not break multiple image upload
suhosin.session.cryptua = off
; turn off compatibility with PHP4 when dealing with objects
zend.ze1_compatibility_mode = off
; PHP for some reason ignores this setting in system php.ini
; and disables mcrypt if this line is missing in local php.ini
extension=mcrypt.so
; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.
display_errors = Off