Zero-downtime PHP deployments: release directories, an atomic symlink switch and OPcache
Deploy PHP apps without downtime: build each release in its own directory, switch a symlink atomically, use $realpath_root, reload PHP-FPM and roll back fast.
Country
Get in Touch
Distro-agnostic Linux fundamentals — permissions, shell tools, systemd, networking.
20 guides
Deploy PHP apps without downtime: build each release in its own directory, switch a symlink atomically, use $realpath_root, reload PHP-FPM and roll back fast.
انشر تطبيقات PHP دون انقطاع: ابنِ كل إصدار في مجلده، وبدّل الرابط الرمزي ذرياً، واستخدم $realpath_root، وأعد تحميل PHP-FPM، وتراجع بسرعة.
A practical PHP 8.4 to 8.5 upgrade guide: the breaking changes that bite, the deprecations to clean up, how to find them, and how to switch PHP-FPM safely.
دليل عملي للترقية من PHP 8.4 إلى 8.5: التغييرات التي قد تكسر التطبيق، والإهمالات الواجب تنظيفها، وطريقة اكتشافها، وتبديل PHP-FPM بأمان.
A step-by-step PHP 8.2 to 8.4 checklist: what changed in 8.3 and 8.4, removed extensions, deprecations, testing tools and a safe switch on Debian or Ubuntu.
قائمة تحقق للترقية من PHP 8.2 إلى 8.4: تغييرات 8.3 و8.4، والامتدادات المُزالة، والإهمالات، وأدوات الاختبار، والتبديل الآمن على Debian أو Ubuntu.
Give each site its own PHP version with separate PHP-FPM pools and sockets, keep the CLI predictable, and avoid the traps of mixed-version servers.
امنح كل موقع إصدار PHP خاصًا به عبر مجمّعات ومقابس PHP-FPM منفصلة، واضبط سطر الأوامر، وتجنب أخطاء الخوادم متعددة الإصدارات.
Installing a security update is half the job. Learn how needrestart, /var/run/reboot-required and Ubuntu Livepatch tell you what still runs old code.
تثبيت التحديث الأمني نصف المهمة فقط. تعرّف على أدوات needrestart و/var/run/reboot-required وUbuntu Livepatch لمعرفة ما يزال يعمل بشيفرة قديمة.
Set up Prometheus, node_exporter and Alertmanager from Debian/Ubuntu packages, keep them off the internet, and alert on down hosts, full disks and low memory.
ثبّت Prometheus وnode_exporter وAlertmanager من حزم Debian/Ubuntu، وأبعِدها عن الإنترنت، وأنشئ تنبيهات لتوقف الخادم وامتلاء القرص ونقص الذاكرة.
A full root disk often starts in /var/log. Set journald size limits, write sane logrotate rules, cap Docker logs and find space held by deleted files.
كثيراً ما يبدأ امتلاء قرص الجذر في /var/log. اضبط حدود journald، واكتب قواعد logrotate مناسبة، وحدّد سجلات Docker، واكتشف المساحة المحجوزة بملفات محذوفة.
Run a Node.js app as a hardened systemd service behind Nginx: a dedicated user, an environment file, restarts, WebSockets, certbot TLS and journalctl logs.
شغّل تطبيق Node.js خدمةً محصنة في systemd خلف Nginx: مستخدم مخصص، وملف بيئة، وإعادة تشغيل، ودعم WebSocket، وشهادة TLS عبر certbot، وسجلات journalctl.
The php command, PHP-FPM and the Apache module can run different versions with different extensions. How to check each one on Debian and Ubuntu.
قد يعمل أمر php وخدمة PHP-FPM ووحدة Apache بإصدارات وإضافات مختلفة على الخادم نفسه. إليك طريقة فحص كل منها على ديبيان وأوبونتو.
دليل عملي خطوة بخطوة لـ كيفية إدارة خدمات systemd على Linux. أوامر مختبرة في الإنتاج، متطلبات مسبقة، تحقق نهائي وروابط لمواضيع ذات صلة.
A field-tested, step-by-step guide. How to Manage systemd Services on Linux — prerequisites, the actual commands, verification, and links to related Linux Basics topics.