[cvs] [Wiki] changed: InstallHowToIIS

Wiki Guest wiki at wiki.horde.org
Wed Apr 27 01:01:22 PDT 2005


guest [213.190.33.134]  Wed, 27 Apr 2005 01:01:22 -0700

Modified page: http://wiki.horde.org/display.php?page=InstallHowToIIS
New Revision:  3.3

@@ -3,9 +3,9 @@
 [[toc]]
- * Windows Server 2003 has been installed with the default options. In other words %WINDIR%=C:\Windows and IIS6 has been installed with the default options. 2003 Server does not install IIS by default. I used Add/Remove Programs-Add/Remove Windows Components to install IIS6.
+ * Windows Server 2003 has been installed with the default options. In other words %WINDIR%=C:Windows and IIS6 has been installed with the default options. 2003 Server does not install IIS by default. I used Add/Remove Programs-Add/Remove Windows Components to install IIS6.
  * All available patches have been applied using: http://v4.windowsupdate.microsoft.com/en/default.asp 
@@ -16,23 +16,23 @@
 
-# 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}}.
+# 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}}.
 # Just to be safe, change the permissions on {{php.ini}} to EVERYONE: Read & Execute, Read. Ignore any warning you might see when you apply the permissions.
-# Open {{C:\Windows\php.ini}} for editing
+# Open {{C:Windowsphp.ini}} for editing
  * Search for “cgi.force_redirect”. Uncomment the {{cgi.force_redirect =}} line and change it to read: {{cgi.force_redirect = 0}}
-I use {{C:\temp}} and 64M respectively. The reason I set this directive is because if it’s not set PHP uses %TEMP% which is {{C:\Windows\Temp}}. I like to keep temp stuff clear of my %SYSTEMROOT%. Alternately you could change the %TEMP% and %TMP% system variables and leave this directive commented out. 64 megabytes might seem a bit excessive, but I run a small installation so I don’t worry about this as much as someone running a larger installation.
+I use {{C:temp}} and 64M respectively. The reason I set this directive is because if it’s not set PHP uses %TEMP% which is {{C:WindowsTemp}}. I like to keep temp stuff clear of my %SYSTEMROOT%. Alternately you could change the %TEMP% and %TMP% system variables and leave this directive commented out. 64 megabytes might seem a bit excessive, but I run a small installation so I don’t worry about this as much as someone running a larger installation.
  * Search for “Windows Extensions”. You’ll need to uncomment the following:
@@ -45,29 +45,29 @@
   * extension=php_openssl.dll
-# 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}}
+# 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:phpdlls}}
 
-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.
+Before you start this process I recommend adding {{C:php;C:phpdlls}} 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:Windowssystem32}} folder. So to avoid having to find and copy the appropriate dlls I strongly recommend adding these entries into the system path.
 
-# 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.
+# 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.
 
-# Click the “Add…” button. Browse to {{C:\php}}, change the “Files of type:” box to read “CGI exe files (*.exe)”. Double-click on {{php.exe}}.
+# Click the “Add…” button. Browse to {{C:php}}, change the “Files of type:” box to read “CGI exe files (*.exe)”. Double-click on {{php.exe}}.
 # Enter PHP in the “Extensions:” box. Make sure the “Script Engine” box is checked. Leave “Verify file exists” checked if you want or you may uncheck it. I chose to  uncheck it.
@@ -96,9 +96,9 @@
 # Open notepad and enter the following text: _
-# Save the file as {{C:\Inetpub\wwwroot\phptest.php}} _
+# Save the file as {{C:Inetpubwwwrootphptest.php}} _
 CAUTION: Don’t forget that Windows will try to add .txt to the end of the filename.
@@ -111,9 +111,9 @@
 CGI/!FastCGI 
-C:\WINDOWS\php.ini 
+C:WINDOWSphp.ini 
 PHP API 
@@ -133,9 +133,9 @@
 
-# CD to {{C:\php}}
+# CD to {{C:php}}
 # Execute: {{go-pear.bat <enter>}}. You’ll see: _
@@ -156,15 +156,15 @@
 Below is a suggested file layout for your new PEAR installation.  To
- 1. Installation prefix               : C:\php
+ 1. Installation prefix               : C:php
  2. Binaries directory                : $prefix
- 3. PHP code directory ($php_dir)     : $prefix\pear
+ 3. PHP code directory ($php_dir)     : $prefixpear
 1-7, 'all' or Enter to continue:
@@ -203,39 +203,39 @@
 
-<C:\php\pear>
+<C:phppear>
 If the specified directory is also not in the include_path used by
-Would you like to alter php.ini <C:\WINDOWS\php.ini>? [Y/n] :
+Would you like to alter php.ini <C:WINDOWSphp.ini>? [Y/n] :
 </code>
-php.ini <C:\WINDOWS\php.ini> include_path updated.
+php.ini <C:WINDOWSphp.ini> include_path updated.
 Note: this entry is added at the very bottom of your php.ini.
-Current include path           	: .;c:\php4\pear
+Current include path           	: .;c:php4pear
 Press Enter to continue:
-The 'pear' command is now at your service at C:\php\pear.bat
+The 'pear' command is now at your service at C:phppear.bat
 
-For convenience, a REG file is available under C:\php\PEAR_ENV.reg .
+For convenience, a REG file is available under C:phpPEAR_ENV.reg .
 This file creates ENV variables for the current user.
- # Browse to {{C:\php}} and double-click on {{PEAR_ENV.reg}} to import the registry information.
+ # Browse to {{C:php}} and double-click on {{PEAR_ENV.reg}} to import the registry information.
   * Log – From the command prompt: {{pear install log <enter>}}. Ignore the message: Optional dependencies: 'sqlite' PHP extension is recommended to utilize some features.
@@ -259,23 +259,23 @@
 
-# Optionally add {{C:\mysql\bin}} to the system path. I do this out of convenience. It makes it easier when you execute the Horde DB scripts. 
+# Optionally add {{C:mysqlbin}} to the system path. I do this out of convenience. It makes it easier when you execute the Horde DB scripts. 
 # Open notepad or your favorite text editor and enter the following text: _
-basedir=C:\\mysql
+basedir=C:\mysql
 # set datadir to the location of your data directory
-datadir=C:\\mysql\\data
+datadir=C:\mysql\data
 
-Server=C:\\mysql\\bin\\mysqld-nt.exe
+Server=C:\mysql\bin\mysqld-nt.exe
 QueryInterval=10
-# 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 {{datadir=}} 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 {{datadir=}} 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. 
 CAUTION: Don’t forget that Windows will try to add .txt to the end of the filename.
@@ -283,9 +283,9 @@
 Of all the information displayed, you’re only interested in weather or not !MySQL reports: _
-Press CTRL+C to stop !MySQL
+Press CTRL+C to stop MySQL
 </code>
@@ -310,12 +310,12 @@
 mysql –user=root –password=your_password mysql
-Welcome to the MySQL monitor.  Commands end with ; or \g.
+Welcome to the MySQL monitor.  Commands end with ; or g.
 Your MySQL connection id is 5 to server version: 4.0.20a-debug
-Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
+Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
 
@@ -324,64 +324,64 @@
 ++ Install Aspell 0.05-3 with the English dictionary.
-# Change the Destination Directory to {{C:\aspell}} and click the {{Next >}} button.
+# Change the Destination Directory to {{C:aspell}} and click the {{Next >}} button.
 # 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.
-# You can type {{\aspell\bin\aspell –config <enter>}} at a Command Prompt to see your current configuration.
+# You can type {{aspellbinaspell –config <enter>}} at a Command Prompt to see your current configuration.
 
-# 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”.
-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…
+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:Inetpubhorde 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…
 
-# CD to {{C:\Inetpub}}
+# CD to {{C:Inetpub}}
 # Execute the following: _
-\WinCVS\CVSNT\cvs login <enter>
+WinCVSCVSNTcvs login <enter>
 </code> _
-# Type {{\!WinCVS\CVSNT\cvs co -r HEAD horde <enter>}}
+# Type {{!WinCVSCVSNTcvs co -r HEAD horde <enter>}}
 <code>
-\WinCVS\CVSNT\cvs co -r HEAD framework <enter>
+WinCVSCVSNTcvs co -r HEAD framework <enter>
 </code>
-# Once you’ve got all the modules you want execute {{\!WinCVS\CVSNT\cvs logout <enter>}}.
+# Once you’ve got all the modules you want execute {{!WinCVSCVSNTcvs logout <enter>}}.
 # Execute {{copy *.dist  *. <enter>}}
-# If you’ve downloaded any other modules, CD into their respective config (e.g. {{\imp\config}}) folders and execute the copy command from step #10.
+# If you’ve downloaded any other modules, CD into their respective config (e.g. {{impconfig}}) folders and execute the copy command from step #10.
 
-# CD to {{C:\Inetpub\horde\framework}}
+# CD to {{C:Inetpubhordeframework}}
 
@@ -389,9 +389,9 @@
 # Expand the local computer tree then right-click the Web Sites folder and select New then Web Site…
-# Enter {{C:\Inetpub\}} for the path. Leave “Allow anonymous access to this Web site” checked and click the Next > button.
+# Enter {{C:Inetpub}} for the path. Leave “Allow anonymous access to this Web site” checked and click the Next > button.
 # Check Execute (Such as ISAPI application or CGI) and click the {{Next >}} button.


More information about the cvs mailing list