السلام عليكم ورحمة الله وبركاته
اعتذر للجميــع اذا راح يكون الشرح طريقة على السريع كدا
الاول ندخل الشيل بصلاحيات روت
وندخل لملف php.ini
رمز PHP:
<code style="white-space:nowrap"> <code> nano /usr/local/lib/php.ini
</code> </code>
نضع القيم التالية بنهاية الملف وللتوجه لاخر الملف بسرعة
اضغط على ctrl+v باستمرار حتى تصل لنهاية الملف
رمز PHP:
<code style="white-space:nowrap"> <code> [suhosin-start]
; Logging Configuration
suhosin.log.syslog = S_ALL & ~S_SQL
suhosin.log.syslog.facility = LOG_USER
suhosin.log.syslog.priority = LOG_ALERT
suhosin.log.use-x-forwarded-for = Off
; Executor Options
suhosin.executor.max_depth = 0
suhosin.executor.include.max_traversal = 6
suhosin.executor.include.whitelist =
suhosin.executor.include.blacklist = "php://, http://, ftp://, gzip://,https://, ftps://, compress.zlib://, /home , http://void.ru"
suhosin.executor.func.whitelist =
suhosin.executor.eval.whitelist =
suhosin.executor.eval.blacklist =
suhosin.executor.allow_symlink = Off
suhosin.executor.disable_emodifier = Off
suhosin.executor.disable_eval = Off
; Misc Options
suhosin.simulation = Off
suhosin.apc_bug_workaround = Off
suhosin.sql.bailout_on_error = On
suhosin.sql.comment = 0
suhosin.sql.multiselect = 0
suhosin.sql.opencomment = 0
suhosin.sql.union = 0
suhosin.sql.user_postfix =
suhosin.sql.user_prefix =
suhosin.multiheader = Off
suhosin.memory_limit = 75
suhosin.mail.protect = 1
; Transparent Encryption Options
suhosin.session.encrypt = On
suhosin.session.cryptkey =
suhosin.session.cryptua = On
suhosin.session.cryptdocroot = On
suhosin.session.cryptraddr = 0
suhosin.session.checkraddr = 0
suhosin.session.max_id_length = 128
suhosin.cookie.checkraddr = 0
suhosin.cookie.cryptdocroot = On
suhosin.cookie.cryptkey =
suhosin.cookie.cryptlist =
suhosin.cookie.cryptraddr = 0
suhosin.cookie.cryptua = On
suhosin.cookie.disallow_nul = On
suhosin.cookie.disallow_ws = 0
suhosin.cookie.encrypt = On
suhosin.cookie.plainlist =
; Filtering Optionins
suhosin.cookie.max_array_depth = 100
suhosin.cookie.max_array_index_length = 64
suhosin.cookie.max_name_length = 64
suhosin.cookie.max_totalname_length = 256
suhosin.cookie.max_value_length = 10000
suhosin.cookie.max_vars = 2048
suhosin.get.disallow_nul = On
suhosin.get.disallow_ws = 0
suhosin.get.max_array_depth = 50
suhosin.get.max_array_index_length = 64
suhosin.get.max_name_length = 64
suhosin.get.max_totalname_length = 256
suhosin.get.max_value_length = 512
suhosin.get.max_vars = 2048
suhosin.perdir = 0
suhosin.coredump = Off
suhosin.post.disallow_nul = On
suhosin.post.disallow_ws = 0
suhosin.post.max_array_depth = 100
suhosin.post.max_array_index_length = 64
suhosin.post.max_name_length = 64
suhosin.post.max_totalname_length = 256
suhosin.post.max_value_length = 65000
suhosin.post.max_vars = 2044
suhosin.protectkey = On
suhosin.request.disallow_nul = On
suhosin.request.disallow_ws = 0
suhosin.request.max_array_depth = 100
suhosin.request.max_array_index_length = 64
suhosin.request.max_totalname_length = 256
suhosin.request.max_value_length = 65000
suhosin.request.max_varname_length = 64
suhosin.request.max_vars = 2048
suhosin.stealth = On
suhosin.upload.max_uploads = 40
suhosin.upload.disallow_elf = 1
suhosin.upload.remove_binary = Off
suhosin.upload.verification_script =
suhosin.session.max_id_length = 128
suhosin.filter.action = [302,]http://plaza-w.info/forbidden.php
[suhosin-end]
</code> </code>
ثم نقوم باغلاق الملف وحفظه
ctrl+x ثم Y ثم Enter
ثم ريستارت للاباتشى
رمز PHP:
<code style="white-space:nowrap"> <code> /scripts/restartsrv httpd
</code> </code>
طبعا فيه اوامر اخرى كتيرة لو تحبوا نذكرها مافى مانع
فى النهاية اسأل الله التوفيق لى وللامة الاسلامية جميــعا
جميــع الحقوق محفوظة وعند النقل يجب الاشارة بإسم ناقل الموضوع
Hossam|Linux.RedHat|