Lỗi VPS disabled core PHP functions

Thảo luận trong 'Reports & Fix Bug' bắt đầu bởi thiencqcq, 15/3/14.

1votes
5/5, 1 vote

  1. thiencqcq

    thiencqcq Verified User

    Bài viết:
    181
    Likes :
    26
    Nhờ mọi người giúp bật chức năng này.

    The following warnings were detected when verifying that your server can run XenForo:
    • Your server has disabled core PHP functions via the disable_functions directive in php.ini. Depending on the functions that have been disabled, this may cause unexpected problems in XenForo. All PHP functions should be enabled.
    These may affect the proper execution of XenForo at times and should be resolved if possible.

    Tiếng viêt:

    Những lời cảnh báo sau đây đã được phát hiện khi xác minh rằng máy chủ của bạn có thể chạy XenForo:
    Máy chủ của bạn đã bị vô hiệu hóa chức năng PHP cốt lõi thông qua các chỉ thị disable_functions trong php.ini. Tùy thuộc vào chức năng mà đã bị vô hiệu hóa, điều này có thể gây ra vấn đề bất ngờ trong XenForo. Tất cả các chức năng PHP nên được kích hoạt.
    Đây có thể ảnh hưởng đến thực hiện tốt các XenForo vào các thời điểm và cần được giải quyết nếu có thể.

    Cảm ơn.
     
    Đang tải...
  2. nhantam

    nhantam New Member

    Bài viết:
    9
    Likes :
    0
    Thuê VPS ở đâu vậy bạn ? Bạn liên hệ trực tiếp với đơn vị quản lý VPS, họ mới hỗ trợ bạn được
     
  3. jamesblackvn

    jamesblackvn Member

    Bài viết:
    61
    Likes :
    20
    It simply displays if any functions are disabled. There are no functions that are disabled in the default PHP configuration, though different distributions might disable certain functions.

    For example, your disabled functions are a bit strange:
    • system is similar to running something from the command prompt so I can sort of understand the idea, but there are a ton of other functions that do this too (not to mention that PHP can likely do anything bad itself).
    • proc_open is similar to system, but the other functions that do this mean that disabling is pointless.
    • parse_ini_file does what it says -- disabling this seems equivalent to disabling a function like fgetscsv.
    • show_source is an alias of highlight_file so the disable likely doesn't work for that anyway. Regardless, there's nothing to prevent someone from simply reading the file directly (and running highlight_string if they want highlighting).
    I should also note that I have used these functions before in my career for completely legitimate things. Disabling functions provides no real security, but instead gets in the way of legitimate code.
     
  4. muanhanhnhanh

    muanhanhnhanh New Member

    Bài viết:
    62
    Likes :
    5
    pác nhờ đơn vị cho thuê VPS họ làm giúp cho khỏe pác à
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...