Deploying PHP Applications and WordPress with Docker
PHP is a widely utilized server-side scripting language known for its integration with HTML and efficiency in web development. Docker simplifies the process of containerizing PHP environments, allowing for portable and reproducible deployments.
Running PHP Scripts in Docker
For quick testing or execution of PHP scripts, you do not always need t ...
Posted on Tue, 13 Oct 2026 16:22:31 +0000 by joukar
Setting Up a LAMP Stack with Composer Dependency Management
The LAMP stack—Linux, Apache, MySQL, and PHP—provides a solid foundation for developing and deploying web applications. Composer enhances this setup by managing PHP package dependencies efficiently. Here's how to get everything running on a Linux system.
Installing Composer
Before proceeding, ensure Composer is available system-wide:
curl -sS h ...
Posted on Fri, 09 Oct 2026 16:53:59 +0000 by insanityonline
PHP7 Kernel - AST to Opcodes Compilation Process
The previous section briefly introduced the process of converting PHP code into an Abstract Syntax Tree (AST). This section discusses the process of converting the AST into zend_op_array, which is the final product of the compilation phase and the input for the execution phase. The subsequent content will mainly focus on zend_op_array. The AST ...
Posted on Thu, 08 Oct 2026 16:13:47 +0000 by lee2732
Phinx Database Migrations: A Practical Reference Guide
Initial Setup
Installing Phinx
composer require robmorgan/phinx
Creating the Configuration File
Run the initialization command to generate the configuration:
vendor/bin/phinx init
This creates a phinx.php file in your project root. Within this configuration:
paths defines the directories for migration and seed files
environments contains dat ...
Posted on Wed, 07 Oct 2026 16:27:11 +0000 by Joel.DNSVault
Static Variables in PHP 7 Internals
In PHP, regular local variables are allocated on the zend_execute_data structure. Each time a zend_op_array is executed, a new zend_execute_data instance is created. Local variables are allocated at the start of execution and freed when execution ends—this defines thier lifetime.
Static variables are an exception: they persist beyond function e ...
Posted on Thu, 01 Oct 2026 17:03:29 +0000 by ianr
Installing and Configuring Zabbix 5.0
To successfully deploy Zabbix, several prerequisite components must be installed:
A MySQL database server, version 5.7 or later.
PHP, version 7.2.
The Zabbix server component.
The Zabbix web frontend component.
The Zabbix agent component.
The Zabbix proxy component (optional).
To add the Zabbix 5.0 repository, you can use either the official ...
Posted on Tue, 29 Sep 2026 16:44:32 +0000 by jp2php
XCTF Web Challenges Walkthrough - Part 1
baby_web
According to the challenge description, the initial page should be index. When attempting to change 1.php to index.php, it still redirects to 1.php. Let's try intercepting the request with a proxy tool.
By examinign the response headers, we can discover the flag:
flag{very_baby_web}
Training-WWW-Robots
Navigate to the challenge page. ...
Posted on Thu, 24 Sep 2026 16:26:16 +0000 by Savahn
Using GitHub, Git, and Composer for Package Management
To implement search functionality, a suitable tokenization tool is required. For PHP, there are few native options, so we opted for phpAnalysis.
This plugin is not hosted on GitHub, and although some user have uploaded it, they often add additional layers of abstraction. We will upload the original version to GitHub.
Step 1: Register on GitHub
...
Posted on Sat, 19 Sep 2026 16:15:16 +0000 by mrwowza
Enabling OPcache in PHP 7 for Enhanced Performance
The Zend OPcache extension improves PHP performance by storing precompiled script bytecode in shared memory, eliminating the need for PHP to load and parse scripts on each request.
When PHP processes a script, it typically follows these steps:
Incoming Request → Zend Engine reads .php file → Lexical analysis and parsing → Generation of Opcode ( ...
Posted on Fri, 11 Sep 2026 16:43:56 +0000 by tranzparency
MySQL Data Export Strategies for Non-Technical Audiences
The Hidden Challenge: SQL Files Aren't End-User Friendly
Working with MySQL data exports regularly, I rarely document these tasks since they're usually stragihtforward. However, a recent scenario prompted me to record my approach due to its specific constraints:
I needed to quickly take over an unfamiliar MySQL instance, extract and organize it ...
Posted on Thu, 10 Sep 2026 16:53:19 +0000 by NCC1701