From 99784d567125b995821102ce0202f12918696961 Mon Sep 17 00:00:00 2001 From: carstenklapp Date: Mon, 3 Dec 2001 09:18:57 +0000 Subject: [PATCH] typos & minor adj. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/branches/release-1_2-branch@708 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- INSTALL.Mac OS X | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/INSTALL.Mac OS X b/INSTALL.Mac OS X index 1883ee580..da6f65777 100644 --- a/INSTALL.Mac OS X +++ b/INSTALL.Mac OS X @@ -1,6 +1,6 @@ Using PhpWiki 1.2 with Mac OS X / Darwin -PhpWiki works quite well and retains almost complete functionality when used with a default installation of Mac OS X 10.1 (or greater), with only a few minor exceptions to as noted below. Setting up a database for the Wiki backend is probably the most difficult part of the PhpWiki installation as it will require use of the Terminal utility; therefore it is recommended that you at least have some familiarity with the unix command prompt. However, the setup is straightforward and you should be able to complete the install by following the instructions in the INSTALL document included with the PhpWiki download. +PhpWiki works quite well and retains almost complete functionality when used with a default installation of Mac OS X 10.1 (or greater), with only a few minor exceptions as noted below. Setting up a database for the Wiki backend is probably the most difficult part of the PhpWiki installation as it will require use of the Terminal utility; therefore it is recommended that you at least have some familiarity with the unix command prompt. However, the setup is straightforward and you should be able to complete the install by following the instructions in the INSTALL document included with the PhpWiki download. If you intend to compile the required database software or PHP module yourself you should download and install the Developer tools from Apple, which includes the necessary cc compiler, and at least temporarily activate the superuser (root) account. The steps necessary to do this are relatively more complicated and are beyond the scope of this document. @@ -25,13 +25,13 @@ Obtaining and Installing mySQL and libphp4.so --------------------------------------------- Mark Liyanage has graciously provided precompiled Mac OS X versions of mySQL, an updated PHP module for Apache and some installation instructions on his web site. He has also written some tips if you want to compile these programs for yourself. - http://www.entropy.ch/software/macosx/ + Note that whether you use the built-in PHP module or another PHP module, it must be activated in Apache's httpd.conf before you can use PHP. Take a look at Mark's PHP installation instructions or read the Apache documentation for more information. -Other distributions of mySQL or PostgreSQL which can be used with Mac OS X are listed at versiontracker.com. +A good place to find other distributions of mySQL or PostgreSQL which can be used with Mac OS X are listed at . + - PhpWiki Configuration Notes --------------------------- Move the phpwiki folder into the directory used by the web server. In Mac OS X 10.1 this folder will be "/Library/WebServer/Documents" (unless you previously changed it to somewhere else in the configuration file "/private/etc/httpd/httpd.conf"). @@ -50,7 +50,7 @@ sudo chmod u+wrx /System/Library/phpwiki/dumps http://somehost/wiki?GoodStyle http://somehost/wikiadmin?PhpWikiAdministration -Open the terminal and type in the following to edit the web server configuration (enter your administration password when prompted): +Open the terminal and type in the following to edit the web server configuration file (enter your administration password when prompted): sudo pico /etc/httpd/httpd.conf @@ -76,12 +76,13 @@ Scroll down to the section. Copy the comment line "#PhpWi Alias /wiki "/Library/WebServer/Documents/phpwiki/index.php" -To save your changes and exit, press 'control-x', then 'y' and the 'return' key. +To save your changes and exit, press 'control-x', then 'y' followed by the 'return' key. + Restart the Web Sharing server from the System Preferences "Sharing" control panel or from the terminal: sudo apachectl graceful -3. To retain your PHPwiki logs between system restarts you should specify a non-temporary directory. I recommend you use the same folder where the web-server stores it's logs. Change the following (line 73) in index.php from +3. To retain your PhpWiki logs between system restarts you should specify a non-temporary directory. I recommend you use the same folder where the web-server stores it's logs. Change the following (line 73) in index.php from: define('ACCESS_LOG', '/tmp/wiki_access_log'); @@ -89,8 +90,7 @@ to something like: define('ACCESS_LOG', '/private/var/log/httpd/wiki_access.log'); -Note that the automatic /etc/daily and weekly cron cleanup routines will not touch the Wiki log even if it is in the same directory as the httpd logs--it will be up to you to Trash it once in a while or write your own /etc/daily.local file to include it as part of a server log rotation. - +Note that the automatic /etc/daily and weekly cron cleanup routines will not touch the Wiki log file--even if it is in the same directory as the httpd logs--it will be up to you to Trash it once in a while or write your own /etc/daily.local file to include it as part of a server log rotation. If you have problems after all of this, try contacting the phpwiki-talk list at phpwiki-talk@lists.sourceforge.net. -- 2.45.0