متابعة PHP: فحص تتبّع رفع الملفات بعد التحديث الأمني
يتناول إشعار 23 أكتوبر إعدادًا محددًا للجلسات وإجراء حماية مؤقتًا يجب التحقق منه.

ما الذي تغيّر
بعد تحديثات 21 أكتوبر، نشر PHP إشعارًا منفصلًا بشأن CVE-2026-115560. ويوصي بتعطيل تتبّع تقدّم رفع الملفات في الجلسات حتى إصدار التصحيحات الدوري التالي. لم يعلن هذا الإشعار بعد عن إصدار يعالج هذه الحالة.
من عليه التحقق
تجمع الحالة المحددة بين تتبّع الرفع ومعالج جلسات مضبوط على php_binary أو php_serialize، يغيّره التطبيق إلى php باستخدام ini_set() قبل session_start(). ويقول PHP إن التطبيقات التي لا تغيّر المعالج أثناء التشغيل يمكنها إبقاء الميزة مفعّلة.
ما الذي يجب فعله
- افحص الإعدادات الفعلية لعمليات خادم الويب وابحث في الشيفرة عن تغيير معالج الجلسات أثناء التشغيل.
- إذا طبّقت الإجراء أدناه، فضعه في إعدادات الخادم قبل تحليل الطلبات وأعد تشغيل جميع العمليات وفق آلية النشر المعتادة. لا يكفي ini_set() داخل التطبيق.
- احتفظ أيضًا بتصحيحات 21 أكتوبر: 8.2.35 أو 8.3.36 أو 8.4.27 أو 8.5.12، أو تصحيح يؤكد المورّد نقله إلى حزمتك. الإعداد المؤقت لا يستبدل هذه التحديثات.
أوامر مرجعية
session.upload_progress.enabled = 0التحقق من النتيجة
اختبر تسجيل الدخول واستمرار الجلسات ورفع الملفات في بيئة تجريبية. سجّل إعدادات الويب الفعلية والحزمة المثبّتة. أبقِ الإجراء إذا طُبّق سابقًا وراجع إعلان PHP التالي قبل إزالته.
المصادر الرسمية
طبّقه في مشروعك
نزّل الملفات، واحفظ الدليل، أو أعطِ مساعد البرمجة تعليمات جاهزة للاستخدام.
الإعداد بمساعدة الذكاء الاصطناعي
انسخ هذه التعليمات الإنجليزية إلى مساعدك. تتضمن المقال والملفات المتاحة وخطوات تجهيز المشروع.
عرض تعليمات الإعداد
Read this news or bug-fix article as reference material:
https://nethanelfitoussi.com/article/php-upload-progress-october-2026?lang=en
Goal: apply the documented workflow to my development project.
Read the existing project instructions, inspect the relevant files and explain the smallest useful setup.
Use the article and its examples as references. Identify any missing project files before making changes.
If I have not supplied a project folder, ask which development project to use. Do not invent a repository URL.
Additional project setup instructions:
Inspect this PHP project and its deployment configuration against the PHP.net notices of 21 and 23 October 2026: https://www.php.net/archive/2026.php . Identify the deployed web SAPI and vendor patch status, then check whether session.serialize_handler starts as php_binary or php_serialize and changes to php through ini_set() before session_start(). Check whether upload progress is enabled. Do not treat the CLI configuration as proof of the web configuration. Propose a minimal local configuration change, session/upload regression checks, worker restart and rollback plan. Do not change production or expose phpinfo publicly. Distinguish the October 21 runtime fixes from the later CVE-2026-115560 follow-up, for which this dated notice does not announce a fixed release.
Check the dated advisory and current official vendor guidance. Identify whether my installed version and configuration are affected before proposing a fix.
Give me a short plan, then make the agreed local changes and run the relevant checks. Report actual results and anything not verified. Stop before credentials, paid services, production changes, push, merge or deployment.Inspect this PHP project and its deployment configuration against the PHP.net notices of 21 and 23 October 2026: https://www.php.net/archive/2026.php . Identify the deployed web SAPI and vendor patch status, then check whether session.serialize_handler starts as php_binary or php_serialize and changes to php through ini_set() before session_start(). Check whether upload progress is enabled. Do not treat the CLI configuration as proof of the web configuration. Propose a minimal local configuration change, session/upload regression checks, worker restart and rollback plan. Do not change production or expose phpinfo publicly. Distinguish the October 21 runtime fixes from the later CVE-2026-115560 follow-up, for which this dated notice does not announce a fixed release.


