Categories
Fix PHP Web

Xdebug with Built-in PHP Server

When using Xdebug with the built-in PHP server be sure you have the proper configuration in your php.ini file. Will will need at a minimum the following settings: If you run into an issue running Xdebug via PHPStorm, or another IDE, when using the built-in PHP server on macOS, or Ubuntu, you might have a […]

Categories
PHP Web

From Scratch PHP Project with the PHP Built-in Web Server

If you are starting a PHP project from scratch you will probably use the PHP built-in web server during development. This tutorial follows the folder structure of a composer based project: Now, let us create a script that can serve as the router for PHP’s built-in web server. Save a file named router to the […]