How Do You Install PHP on Windows with XAMPP?
A step-by-step guide to installing XAMPP on Windows, running your first PHP page from htdocs, adding PHP to PATH and fixing common startup errors.
59 posts about PHP: questions with answers, tutorials and articles, newest first.
A step-by-step guide to installing XAMPP on Windows, running your first PHP page from htdocs, adding PHP to PATH and fixing common startup errors.
Follow a request from the browser through the web server and PHP engine, and see why PHP runs on the server and forgets state between requests.
A complete PHP study path in order: from installing PHP and writing your first script to OOP, PDO, security, REST APIs, Laravel, CodeIgniter and real projects.

A step-by-step guide to Laravel database queries, from raw SQL and the query builder to Eloquent, joins, pagination and transactions.

See common raw SQL queries next to their Laravel Eloquent equivalents, including joins, aggregates, eager loading and safe raw expressions.

The naming conventions Laravel and Eloquent expect for tables, keys, models, controllers, routes and migrations, with examples.

Install several PHP versions side by side, switch the CLI with update-alternatives, and choose the version your web server uses with PHP-FPM or an Apache module.

Create a CRUD REST API in CodeIgniter 4 using a migration, a model with validation and a ResourceController, then test it with curl.

Step-by-step Laravel installation for new and existing projects, covering Composer, environment setup, migrations and a React Axios example.

Install Grunt locally, write a Gruntfile for uglify, cssmin and watch, and load the minified assets in CodeIgniter 4 views.
A practical guide to PHP syntax covering tags, variables, types, operators and control structures in modern PHP 8.
A beginner introduction to PHP 8: what the language does, how requests are processed and how to run your first script.
An introduction to the CodeIgniter PHP framework: MVC flow, version differences, Composer install and a first controller and view.

Enable CodeIgniter error logging with the right threshold, write messages with log_message() and find the log files for versions 3 and 4.
Enable error logging in CodeIgniter 3 or 4, understand the threshold levels, find the daily log files and write your own entries with log_message().

A secure PHP Google login using Composer, a state check and ID token verification, replacing the unsafe original snippet.
Build Google login in PHP 8 with the official API client: create credentials, add a sign-in link, verify the ID token and start a safe session.

Integrate PayU in CodeIgniter with a controller, hashed redirect form and verified success and failure callbacks, keeping the salt on the server.

A secure PHP walkthrough for PayU: build the hash, redirect to checkout, verify the response and test in sandbox before going live.