|
Cookbook /
PHPadministrators (intermediate) Summary: PHP configuration for PmWiki
Version: 2
Prerequisites:
Status: In progress
Maintainer:
Categories:
Questions answered by this recipeHow do I install PHP for PmWiki? What configuration changes may be made to PHP to work better with PmWiki? This information is intended for people who have administrator access to their computer and may have installed PHP to run PmWiki. They may be using PmWiki for an intranet, or for a personal website. DescriptionThe PHP versions needed for PmWiki are described in Requirements. PmWiki will work out of the box without any changes to PHP. InstallationPrior to installing PHP the latest version (5) of the installer (.msi) should be obtained from http://php.net/downloads.php. You may also wish to download the documentation from http://www.php.net/download-docs.php. ![]() Introduction
Fine tuningThese notes provide some guidance for changes that can be made to the runtime configuration file Change to the Windows Notes(Sorry this author only has experience with Windows)
Sites running PHP under Windows may not have PHP's mail function configured correctly. Such sites may need to add a line like ini_set('SMTP','smtp.server.com');
to config.php, where smtp.server.com is the name of your host's preferred outgoing mail server. You may also need to set the sendmail_from value if that is not configured: ini_set('sendmail_from','noreply@foo.com');
PHP 4
If you are image processing, or have an older slower machine, you could consider changing
You may also need to check your setting for extensions is correct
You may need to enable the gd2 if using an image recipe
It is recommended that you log errors to monitor your settings and check for processing problems
PHP 5PHP any version
Release Notes
CommentsSee AlsoContributors |