Developer's Guide :: Getting Started
From Delphi for PHP Documentation Wiki
Delphi for PHP provides out-of-the-box an environment to run PHP applications, but if you want to use VCL for PHP without the IDE, you must have a LAMP/WAMP environment setup, so you can run PHP applications, MySQL is not required but you should think on set it up, so you can create database applications.
This setups everything you need to run PHP applications on Windows.
If you want to setup all parts separately, you can setup the webserver.
The PHP language
The database server
Once you have this environment running, you can write code like this:
<?php require_once("vcl/vcl.inc.php"); use_unit("stdctrls.inc.php"); $button=new Button(); $button->Caption="This is a Button"; $button->Width=200; $button->show(); ?>
Let's go and created your first app, the typical Hello, World!

