|
Cookbook /
PHPadministrators (intermediate)
Summary: PHP windows installation and configuration for PmWiki
Version: 2009-11-24
Prerequisites:
Status: Living document
Maintainer:
Categories: SystemTools Install
Questions answered by this recipeHow do I install PHP for PmWiki on Windows? 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. InstallationUse the Microsoft Web platform installer
These are instructions for manually installing PHP, and are dated
Prior 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 not recommended, no longer supported
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 AlsoContributorsUser notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |