Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: PHP FAQ.

PHP FAQ: Difference between revisions

From MoodleDocs
(how do I install PHP (copied from PHP))
Line 28: Line 28:
* See [[Installing_Moodle#Requirements]].  
* See [[Installing_Moodle#Requirements]].  
* You can tell which version you are using by looking at [[PHP info]].
* You can tell which version you are using by looking at [[PHP info]].
==How do I install PHP?==
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).


== See also: ==
== See also: ==

Revision as of 12:00, 21 May 2009

What is PHP?

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

Where can I learn more about PHP?

Online resources:

Books:

How is PHP used by Moodle?

(PHP in Moodle Docs will soon be merged with this page. --Frank Ralf 08:17, 13 May 2009 (UTC))

Which version of PHP is required by Moodle?

How do I install PHP?

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).

See also: