Developer
PHP
PHP TUTORIALPHP IntroductionPHP InstallationPHP Hello WorldPHP Basic SyntaxPHP VariablesPHP ConstantsPHP OutputPHP Data TypesPHP OperatorsPHP ConditionalsPHP Shorthand ConditionalsPHP LoopsPHP Loop Control StructuresPHP FunctionsPHP StringsPHP ArraysPHP Superglobal VariablesPHP in HTMLPHP RegexRegex IntroductionRegex PCRE SyntaxPHP PREG FunctionsPHP FormsPHP Forms IntroductionPHP Forms CreatingPHP Forms SecurityPHP Forms ValidationPHP Forms Required InputsPHP Forms StickyPHP Forms Advanced ValidationPHP Forms Finishing

PHP Installation

How to Install?

There are two ways to install PHP.

  • Installing PHP on your own PC
  • Using a host with PHP and MYSQL support

Installing PHP on your own PC

This process has three steps.

  • Installing Web Server
  • Installing PHP
  • Installing a database
MYSQL database is widely used with PHP. Therefore, it is better to use MYSQL with PHP.

However, you can do all of these steps at once by installing one of the following web development environments.

See http://php.net/manual/en/install.php for more instructions

Using a host with PHP and MYSQL support

There are huge number of web hosts world-wide which supports PHP and MYSQL. You can choose one of them.

Most of them includes Apache web server, PHP, MYSQL as well as phpMyAdmin.

You can execute PHP files without installing any software.

Installing a text editor

You need a good text editor to edit .php file. Following text editors supports PHP syntax highlighting.

There are some IDEs for PHP to make programming easier. But, for now, a text editor is enough for you to learn PHP.

Advertisement
30
411