Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

PHP FAQ: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(/* How is PHP used by Moodle? reference to old PHP page deleted)
(Shifted to dev docs)
 
(9 revisions intermèdies per 4 usuaris que no es mostren)
Línia 1: Línia 1:
== What is PHP? ==
{{Moved_to_dev_docs}}
 
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: ===
 
* The [http://www.php.net official PHP Homepage] with documentation, tutorials, FAQ, etc.
* The [http://www.w3schools.com/PHP/DEfaULT.asP W3Schools PHP Tutorial] is a great way to learn about PHP by example.
 
=== Books: ===
 
* [http://books.google.de/books?id=iUfIqyAbIU4C&output=html PHP Cookbook] by David Sklar and Adam Trachtenberg.
* [http://www.manning.com/reiersol/ PHP in Action] by Dagfinn Reiersøl with Marcus Baker and Chris Shiflett. ([http://books.slashdot.org/article.pl?sid=08/01/23/1446243 Book review on Slashdot].)
 
== How is PHP used by Moodle? ==
 
* [[Installing Moodle/Creating custom php.ini files]]
* [[PHP settings by Moodle version]]
* [[PHP error logs]]
* [http://moodle.org/mod/forum/search.php?notwords=Re:&id=5&subject=php.ini php.ini related discussions] in the Moodle forums
 
== Which version of PHP is required by Moodle? ==
 
* See [[Installing_Moodle#Requirements]].
* 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: ==
 
* [[Installing MSSQL for PHP]]
* [[Installing Oracle for PHP]]
* [[Installing Postgres for PHP]]
 
 
[[Category:FAQ]]
[[Category:Administrator]]
[[Category:Developer]]

Revisió de 07:59, 22 juny 2011

This development related page is now located in the Dev docs.

See the PHP FAQ page in the Dev docs.