install:php
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:php [2023-05-25 18:15] – [extension] fiwswe | install:php [2024-07-21 13:52] (current) – [recommended] sort alphabetically to match output of php -m openletter | ||
---|---|---|---|
Line 6: | Line 6: | ||
Please consult the online [[http:// | Please consult the online [[http:// | ||
+ | |||
+ | |||
+ | ===== PHP extensions ===== | ||
+ | |||
+ | Below you can find which extensions should be enabled for your PHP setup. On some systems these extension might need to be installed separately, other systems might bundle them in a single install package and only need them to be enabled in '' | ||
+ | |||
+ | ==== required ==== | ||
+ | |||
+ | These extensions are usually enabled by default anyway. | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | | ||
+ | |||
+ | ==== recommended ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== special use cases ==== | ||
+ | |||
+ | The following extensions are often used by plugins and thus might come in handy. | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
===== php.ini ===== | ===== php.ini ===== | ||
Line 29: | Line 60: | ||
However, note that some [[: | However, note that some [[: | ||
- | ==== safe_mode | + | ==== open_basedir |
- | [[phpfn> | + | This limits access of your PHP process to configured paths. This is meant as an additional security feature but should not be relied on. It will disable readdir caching and might significantly slow down your PHP processing. See [[: |
- | DokuWiki will run even with '' | + | * Suggested: open_basedir |
- | + | ||
- | However, depending on your hosters configuration you may need to use the [[:config: | + | |
- | + | ||
- | If in doubt, or when troubleshooting, | + | |
Line 97: | Line 124: | ||
Maximum amount of memory a script may consume. | Maximum amount of memory a script may consume. | ||
- | * Suggested: memory_limit = 32M | + | * Suggested: memory_limit = 128M |
==== error_reporting ==== | ==== error_reporting ==== | ||
Line 138: | Line 165: | ||
* Suggested: register_argc_argv = Off | * Suggested: register_argc_argv = Off | ||
- | ==== Magic Quotes ==== | ||
- | |||
- | [[http:// | ||
- | |||
- | DokuWiki will detect the used settings and will handle the given values as needed. However disabling these options is recommended. | ||
- | |||
- | === magic_quotes_gpc === | ||
- | |||
- | Affects HTTP Request data (GET, POST, and Cookie). | ||
- | |||
- | * Suggested: magic_quotes_gpc = Off | ||
- | |||
- | === magic_quotes_runtime === | ||
- | |||
- | If enabled, most functions that return data from an external source, including databases and text files (SQL, from '' | ||
- | |||
- | * Suggested: magic_quotes_runtime = Off | ||
- | |||
- | === magic_quotes_sybase === | ||
- | |||
- | Use Sybase-style magic quotes (a single-quote is escaped with a single-quote instead of a backslash). | ||
- | |||
- | * Suggested: magic_quotes_sybase = Off | ||
==== file_uploads ==== | ==== file_uploads ==== | ||
Line 187: | Line 191: | ||
==== extension ==== | ==== extension ==== | ||
- | Dynamic Extensions. | + | Dynamic Extensions. |
- | + | ||
- | === GD === | + | |
- | + | ||
- | PHP' | + | |
- | + | ||
- | === SSL === | + | |
- | + | ||
- | SSL must be activated for update and install functionalities. | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | + | ||
- | === MB_String === | + | |
- | + | ||
- | The [[https:// | + | |
- | + | ||
- | The method to install and activate '' | + | |
- | + | ||
- | Note: On the command line you can see which extensions | + | |
- | + | ||
- | ==== register_globals (PHP <= 5.3.0 - deleted since PHP 5.4.0) ==== | + | |
- | + | ||
- | Controls if any passed CGI parameters will be registered as global variable automatically instead of being available through $_GET, $_POST or $_REQUEST only. Enabling this often leads to [[http:// | + | |
- | + | ||
- | DokuWiki will run with '' | + | |
- | + | ||
- | * Suggested: register_globals = Off | + | |
install/php.1685031354.txt.gz · Last modified: 2023-05-25 18:15 by fiwswe