Note: This documentation is for Moodle 2.7. For up-to-date documentation see PHP.

PHP: Difference between revisions

From MoodleDocs
No edit summary
Line 13: Line 13:


== See also: ==
== See also: ==
* [[PHP FAQ]] (this page will soon become part of that FAQ page
* [[PHP FAQ]] (this page will soon become part of that FAQ page --[[User:Frank Ralf|Frank Ralf]] 08:18, 13 May 2009 (UTC))


[[Category:Administrator]]
[[Category:Administrator]]

Revision as of 08:18, 13 May 2009

PHP is the scripting language in which Moodle is developed. PHP does not stand alone, it is tightly integrated with a suitable HTTP Server. Most people use the Apache HTTP Server for this purpose although a number of others are supported.

PHP describes itself as "a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML."


Installation

Usually PHP is installed alongside Apache and MySQL in a combination known as AMP, see Installing AMP for details. It is possible to build PHP from source - you might have to if you need a very new version for developing Moodle - however, it is quite challenging. PHP itself has many dependencies that you will need to obtain and build, some of which are also tricky to build from source (e.g. GD).

Minimum version requirements

The minimum version of PHP required for Moodle is listed in the requirements section of the installation instructions

See also:

  • PHP FAQ (this page will soon become part of that FAQ page --Frank Ralf 08:18, 13 May 2009 (UTC))