[cvs] [Wiki] changed: InstallHowToIIS
Wiki Guest
wiki at wiki.horde.org
Sat Sep 24 20:46:54 PDT 2005
guest [202.41.167.246] Sat, 24 Sep 2005 20:46:54 -0700
Modified page: http://wiki.horde.org/InstallHowToIIS
New Revision: 9.0
Change log: Revert
@@ -9,12 +9,11 @@
* You have some knowledge of how to use the windows command line.
# This document is specific to the following software versions.
* PHP 4.3.7RC1 Â Download the php-4.3.7RC1-Win32.zip from http://www.php.net/downloads.php. Do NOT use the Windows Installer version.
- * !MySQL 4.0.20 Â Download mysql-4.0.20a-win.zip from http://dev.mysql.com/downloads/mysql/4.0.html Unlike PHP it is recommended that you use the Windows installer version.
+ * MySQL 4.0.20 Â Download mysql-4.0.20a-win.zip from http://dev.mysql.com/downloads/mysql/4.0.html Unlike PHP it is recommended that you use the Windows installer version.
* Aspell 0.05-3 Â Download the full installer from http://aspell.net/win32/ dictionaries can be downloaded at the same URL
* !WinCvs13b17-2 -- Download !WinCvs13b17-2.zip from http://sourceforge.net/projects/cvsgui/ Even though this is a complete GUI IÂm only interested in cvs.exe so I can connect to the Horde cvs repository from the command line.
-
++ Install PHP 4.3.7RC1
# Extract the files in the ZIP archive to C:\. Extracting the files will create a folder called C:\php-4.3.7RC1-Win32. Rename the folder to C:\php
@@ -46,9 +45,8 @@
* extension=php_pgsql.dll
* You might not need all of the extensions listed here. In fact you probably donÂt but I uncommented all of the extensions reported in the ÂPHP Module Capabilities section of the Horde test script.
# Save and close the updated php.ini file.
# In order to get mcrypt support on Windows youÂll need libmcrypt.dll. (Refer to http://www.php.net/mcrypt). The dll is available at http://ftp.emini.dk/pub/php/win32/mcrypt/. Browse to this address, right-click on libmcrypt.dll and choose ÂSave Target asÂ
 Save the dll in C:\php\dlls
-
++ Configure IIS6 to Allow PHP extensions
Before you start this process I recommend adding C:\php;C:\php\dlls to the system path. From what IÂve read about installing PHP on IIS6 this is a preference rather that a must. I added it for two reasons. The first is convenience; the second and more important is because there are a number of files in the dlls folder that are required to run the PHP extensions used by Horde. If the dlls folder is not in the path you have to copy the necessary dll to c:\Windows\system32 folder. So to avoid having to find and copy the appropriate dlls I strongly recommend adding these entries into the system path.
@@ -58,9 +56,8 @@
# Click the ÂAdd a new Web service extensionÂ
 link under Tasks in the right hand pane.
# Enter PHP in the ÂExtension name:Â box.
# Click the ÂSet extension status to Allowed check box (Should be checked).
# Click the ÂAdd button then click the ÂBrowseÂ
 button. Browse to C:\php, change the ÂFiles of type: box to read ÂCGI exe files (*.exe)Â. Double-click on php.exe. Finally click the OK button twice.
-
++ Add PHP to IIS6 Web Sites
There is a decision to make at this point. We can add PHP functionality to the Web Sites folder or we can simply add it to the Default Web Site. The benefit to adding PHP to the Web Sites folder is that any new web site will inherit the settings. Conversely, if you choose not to configure the Web Sites folder to use PHP then youÂll have to add the functionality to each new web site as you create it. IÂll cover both options here.
@@ -74,9 +71,8 @@
# Click the ÂAddÂ
 button and enter index.php in to the ÂDefault content page: box.
# Click the ÂMove up button until index.php appears at the top of the list.
# Click the OK button.
# If you are applying these setting to the Web Sites folder you will see an ÂInheritance Overrides dialog box asking which ÂChild Nodes to apply the settings to. Click the Select All button then the OK button.
-
++ Test the PHP installation
# First itÂs a good idea to stop and start the IIS services. I found it much easier and cleaner to do this from a Command Prompt. So open a Command Prompt and type:
@@ -123,9 +119,8 @@
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
</code>
-
++ Install PEAR Using the Provided PHP Scripts
# Open a Command Prompt
@@ -244,10 +239,9 @@
* From the command prompt: pear upgrade xml_serializer <enter>
* From the command prompt: pear install services_weather <enter>
* Just for grins and giggles execute pear upgrade-all <enter>
-
-++ Install !MySQL 4.0.18
+++ Install MySQL 4.0.18
# Extract the files from mysql-4.0.20a-win.zip into a temporary folder.
# Browse to that folder and double-click on SETUP.EXE.
# The installation wizard will start. You can simply accept all of the defaults. Click the Finish button when the installation finished.
@@ -263,41 +257,41 @@
[WinMySQLAdmin]
Server=C:\\mysql\\bin\\mysqld-nt.exe
QueryInterval=10
</code>
-# If you installed !MySQL into a different folder youÂll need to change the Âbasedir =Â to point to your installation point. Additionally you need to add a different path to the system path variable. If you want to store your databases in a different location, create that folder structure and change the Âdatdir=Â to point to that location. Beware that if you want to use back slashes in your my.ini, you need to use \\ otherwise use forward slashes.
+# If you installed MySQL into a different folder youÂll need to change the Âbasedir =Â to point to your installation point. Additionally you need to add a different path to the system path variable. If you want to store your databases in a different location, create that folder structure and change the Âdatdir=Â to point to that location. Beware that if you want to use back slashes in your my.ini, you need to use \\ otherwise use forward slashes.
# Save the file as C:\Windows\my.ini _
CAUTION: DonÂt forget that Windows will try to add .txt to the end of the filename.
-# Open a Command Prompt and give !MySQL a test by entering: _
+# Open a Command Prompt and give MySQL a test by entering: _
<code>
mysqld Âconsole <enter>
</code> _
-Of all the information displayed, youÂre only interested in weather or not !MySQL reports: _
+Of all the information displayed, youÂre only interested in weather or not MySQL reports: _
<code>
mysqld: ready for connections.
Version: '4.0.20a-debug' socket: '' port: 3306
-Press CTRL+C to stop !MySQL
+Press CTRL+C to stop MySQL
</code>
-# Now we can install the !MySQL daemon as a service by entering: _
+# Now we can install the MySQL daemon as a service by entering: _
<code>
mysqld Âinstall <enter>
</code> _
You should receive a {{Service successfully installed}}.
-# Start the !MySQL service by typing _
+# Start the MySQL service by typing _
<code>
net start mysql <enter>
</code> _
-You should see: {{The !MySQL service was started successfully}}.
-# Reset the !MySQL root password by entering: _
+You should see: {{The MySQL service was started successfully}}.
+# Reset the MySQL root password by entering: _
<code>
mysql -u root <enter>
</code> _
YouÂll get a {{mysql>}} prompt. Enter the following command replacing newpwd with whatever password you want to use: _
<code>
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd'); <enter>
</code> _
You should see: {{Query OK, 0 rows affected (0.14 sec)}}
-# Test the !MySQL installation by entering: _
+# Test the MySQL installation by entering: _
<code>
mysql Âuser=root Âpassword=your_password mysql
</code> _
You should see: _
@@ -308,9 +302,9 @@
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
</code> _
-Type {{exit <enter>}} to close the !MySQL shell.
+Type {{exit <enter>}} to close the MySQL shell.
++ Install Aspell 0.05-3 with the English dictionary.
@@ -320,22 +314,20 @@
# Accept the defaults for the remainder of the installation wizard. The last screen will ask if you want to view manual.html. Leave it checked if you do, otherwise uncheck it and click the Finish button.
# Double-click Aspell-en-0.50-2-3.exe to start the Aspell dictionary installation wizard.
# The installer should find your base Aspell installation directory and simply add the dictionary so you should be able to accept the defaults for the entire installation wizard.
# You can type \aspell\bin\aspell Âconfig <enter> at a Command Prompt to see your current configuration.
-
++ Install !WinCVS
# Extract the contents of !WinCvs13b17-2.zip to a temporary folder.
# Execute setup.exe to start the installation wizard.
# Click the Next > button
# Click ÂI accept the agreement radio button then the Next > button twice.
-# If desired change the destination directory and click the Next > button. IÂm keeping things consistent so I changed the destination directory to C:\!WinCVS.
+# If desired change the destination directory and click the Next > button. IÂm keeping things consistent so I changed the destination directory to C:\WinCVS.
# If desired, change the installation type and click the Next > button. As I said earlier, IÂm only interested in the command line version so I changed the installation to custom and unchecked everything except ÂCore executable files and ÂCommand line client filesÂ.
# Check ÂDonÂt create a Start Menu folder then click the Next > button
# Uncheck ÂCreate a desktop item and ÂCreate a shell context menu and click the Next > button.
# Click the ÂInstall button then the ÂFinish button.
-
++ Checkout Horde and Horde Framework Modules from CVS.
The first item to consider is where to put your Horde installation. Like I said I have a relatively small installation, however I support two domains. IÂm writing this document while installing Horde on my development server which is much different than my production server. So IÂm going to choose C:\Inetpub\horde as my installation point. This seen the easiest place to put Horde, plus if you set the doc_root directive in your php.ini to C:\Inetpub, it keeps things simple. In any case, I think itÂs important to give some thought to where you want Horde to live. NowÂ
here we goÂ
More information about the cvs
mailing list