What do I need?
To get started with PHP, you can:
- Using a web host that supports PHP and MySQL
- Install the Web server on your PC, and then install PHP and MySQL.
Using a PHP-enabled WEB host
If your server supports PHP, then you don't have to do anything.
Just create the. php file and upload it to the web directory. They are automatically parsed by the server.
You do not need to compile or install any additional tools.
Because PHP is free, most web hosts support PHP. Running PHP on your PC
However, if your server does not support PHP, you must:
- Installing the Web server
- Install PHP
- Install the database, such as MySQL
The official PHP website (php.net) provides installation instructions for PHP: http://php.net/manual/zh/install.php comments
Tip: If you want to set up and run PHP immediately on the Windows platform, you can also:
Download WebMatrix
"PHP Learning" PHP Installation