From c320827ff078d6e0d9703c23e7e89097d1613400 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Fri, 26 Jan 2001 10:17:53 +0000 Subject: [PATCH] Correcting some anoying typos. - We dont explain installing Windows - OmniHTTPd is the correct name for that server - php4 is PHP 4 - PHP4 is PHP 4 - apache is Apache - etc. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40192 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/install.xml | 258 +++++++++++++++++++++---------------------- 1 file changed, 128 insertions(+), 130 deletions(-) diff --git a/chapters/install.xml b/chapters/install.xml index e5b5794076..7e6b6a406d 100644 --- a/chapters/install.xml +++ b/chapters/install.xml @@ -182,7 +182,7 @@ From: paul_mckay@clearwater-it.co.uk 04-Jan-2001 09:49 -(These tips are for php v4.0.4 and apache v1.3.9) +(These tips are for PHP 4.0.4 and Apache v1.3.9) So you want to install PHP and Apache on a HP-UX 10.20 box? @@ -198,7 +198,6 @@ gunzip this file and install gcc using swinstall. http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz gunzip and install using swinstall. - 4. You now need bison, you can download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz install as above. @@ -213,9 +212,9 @@ PATH so add them to your PATH. Right, now into the hard stuff. -6.Download the PHP and apache sources. +6. Download the PHP and apache sources. -7.gunzip and tar -xvf them. +7. gunzip and tar -xvf them. We need to hack a couple of files so that they can compile ok. @@ -225,7 +224,7 @@ better way of doing this but a cheap and cheerful hack is to put lt_target=hpux10.20 on line 47286 of the configure script. -9. Next, the apache GuessOS file needs to be hacked. Under +9. Next, the Apache GuessOS file needs to be hacked. Under apache_1.3.9/src/helpers change line 89 from "echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0" to: @@ -234,16 +233,16 @@ to: 10. You cannot install PHP as a shared object under HP-UX so you must compile it as a static, just follow the instructions at the Apache page. -11. PHP and apache should have compiled OK, but apache won't start. you need -to create a new user for apache, eg www, or apache. You then change lines 252 -and 253 of the conf/httpd.conf in apache so that instead of +11. PHP and apache should have compiled OK, but Apache won't start. you need +to create a new user for Apache, eg www, or apache. You then change lines 252 +and 253 of the conf/httpd.conf in Apache so that instead of User nobody Group nogroup you have something like User www Group sys -This is because you can't run apache as nobody under hp-ux. +This is because you can't run Apache as nobody under hp-ux. Apache and PHP should then work. Hope this helps somebody, @@ -380,7 +379,7 @@ Paul Mckay. setenv OPTIM=-O2 If you want the compiler to do some optimization. -5. Next, go to the php4 source directory and configure it. +5. Next, go to the PHP 4 source directory and configure it. ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -422,7 +421,7 @@ Paul Mckay. 10. make install 11. copy and rename the php.ini-dist file to your "bin" directory from your - php4 source directory: + PHP 4 source directory: cp php.ini-dist /usr/local/bin/php.ini or (if your don't have a local directory) @@ -2500,10 +2499,10 @@ Paul Mckay. PHP 4: Build PHP as a Pike module for use with the Caudium - webserver. DIR is the Caudium base directory. If no directory - is specified $prefix/caudium/server is used. The prefix is - controlled by the --prefix option and is /usr/local per - default. + webserver. DIR is the Caudium base directory. If no directory + is specified $prefix/caudium/server is used. The prefix is + controlled by the --prefix option and is /usr/local per + default. @@ -2779,8 +2778,8 @@ Paul Mckay. - - Installation on Windows 95/98/NT systems + + Installation on Windows 9x/NT/2000 systems There are two main ways to install PHP for Windows: either manually @@ -2841,7 +2840,7 @@ Paul Mckay. General Installation Steps This install guide will help you manually install and configure - PHP on your Windows 9x/NT webservers. This guide was compiled by + PHP on your Windows 9x/NT/2000 webservers. This guide was compiled by &link.bob;. The original version can be found at &url.win32install;. @@ -2865,7 +2864,7 @@ Paul Mckay. - Omni HTTPd 2.0b1 and up + OmniHTTPd 2.0b1 and up @@ -2886,7 +2885,7 @@ Paul Mckay. Copy the file, 'php.ini-dist' to your '%WINDOWS%' directory on Windows 95/98 or to your '%SYSTEMROOT%' directory under Windows NT or Windows - 20000 and rename it to 'php.ini'. Your + 2000 and rename it to 'php.ini'. Your '%WINDOWS%' or '%SYSTEMROOT%' directory is typically: @@ -2908,7 +2907,7 @@ Paul Mckay. - If you are using Omni Httpd, do not follow the next step. + If you are using OmniHTTPd, do not follow the next step. Set the 'doc_root' to point to your webservers document_root. ex: c:\apache\htdocs or c:\webroot @@ -2929,7 +2928,7 @@ Paul Mckay. On PWS and IIS, you can set the browscap.ini to point to: 'c:\windows\system\inetsrv\browscap.ini' on Windows 95/98 - and 'c:\winnt\system32\inetsrv\browscap.ini' on NT + and 'c:\winnt\system32\inetsrv\browscap.ini' on NT/2000 Server. Additional information on using the browscap functionality in PHP can be found at this mirror, select the "source" @@ -2967,7 +2966,7 @@ Paul Mckay. Pretty much all of the instructions that follow are of the - "set and forget" variety. So sit back and try follow the + "set and forget" variety. So sit back and try follow the instructions below as faithfully as you can. @@ -3032,13 +3031,13 @@ Paul Mckay. - Execute cygwin.exe and follow the installation - instructions. If you choose to install to a path other than - c:\cygnus, let the build process know by setting - the Cygwin environment variable. On Windows 95/98 setting - an environment variable can be done by placing a line in - your autoexec.bat. On Windows NT, go to My Computer => - Control Panel => System and select the environment tab. + Execute cygwin.exe and follow the installation + instructions. If you choose to install to a path other than + c:\cygnus, let the build process know by setting + the Cygwin environment variable. On Windows 95/98 setting + an environment variable can be done by placing a line in + your autoexec.bat. On Windows NT, go to My Computer => + Control Panel => System and select the environment tab. @@ -3054,16 +3053,16 @@ Paul Mckay. - Launch Microsoft Visual C++, and from the menu select - Tools => Options. In the dialog, select the - directories tab. Sequentially change the dropdown - to Executables, Includes, and Library files, - and ensure that cygwin\bin, - win32build\include, and - win32build\lib are in each list, - respectively. (To add an entry, select a blank line - at the end of the list and begin typing). Typical entries - will look like this: + Launch Microsoft Visual C++, and from the menu select + Tools => Options. In the dialog, select the + directories tab. Sequentially change the dropdown + to Executables, Includes, and Library files, + and ensure that cygwin\bin, + win32build\include, and + win32build\lib are in each list, + respectively. (To add an entry, select a blank line + at the end of the list and begin typing). Typical entries + will look like this: @@ -3096,16 +3095,16 @@ Paul Mckay. - For command line users, make sure that you either have - the C++ environment variables registered, or have run - vcvars.bat, and then execute one of the - following: + For command line users, make sure that you either have + the C++ environment variables registered, or have run + vcvars.bat, and then execute one of the + following: - - + + msdev bindlib.dsp /MAKE "bindlib - Win32 Debug" - + msdev bindlib.dsp /MAKE "bindlib - Win32 Release" @@ -3175,8 +3174,8 @@ Paul Mckay. The following table describes some of the extensions available. As described in the manual installation steps, you can choose which extensions you would like to load when PHP starts by uncommenting the: - 'extension=php_*.dll' lines. Some extensions require you to have - additional libraries installed on your system for the module to + 'extension=php_*.dll' lines in php.ini. Some extensions require you + to have additional libraries installed on your system for the module to work correctly. The PHP FAQ has more information on where to get supporting libraries. You can also load a module dynamically in your script using dl. @@ -3186,74 +3185,74 @@ Paul Mckay. PHP Extensions - - php_calendar.dll - Calendar conversion functions - - - php_crypt.dll - Crypt functions - - - php_dbase.dll - dBase functions - - - php_dbm.dll - Berkeley DB2 library - - - php_filepro.dll - Read-only access to Filepro databases - - - php_gd.dll - GD library functions for GIF manipulation - - - php_hyperwave.dll - HyperWave functions - - - php_imap4r2.dll - IMAP 4 functions - - - php_ldap.dll - LDAP functions - - - php_msql1.dll - mSQL 1 client - - - php_msql2.dll - mSQL 2 client - - - php_mssql.dll - MSSQL client (requires MSSQL DB-Libraries - - - php3_mysql.dll (built into PHP 4) - MySQL functions - - - php_nsmail.dll - Netscape mail functions - - - php_oci73.dll - Oracle functions - - - php_snmp.dll - SNMP get and walk functions (NT only!) - - - php_zlib.dll - ZLib compression functions - + + php_calendar.dll + Calendar conversion functions + + + php_crypt.dll + Crypt functions + + + php_dbase.dll + dBase functions + + + php_dbm.dll + Berkeley DB2 library + + + php_filepro.dll + Read-only access to Filepro databases + + + php_gd.dll + GD library functions for GIF manipulation + + + php_hyperwave.dll + HyperWave functions + + + php_imap4r2.dll + IMAP 4 functions + + + php_ldap.dll + LDAP functions + + + php_msql1.dll + mSQL 1 client + + + php_msql2.dll + mSQL 2 client + + + php_mssql.dll + MSSQL client (requires MSSQL DB-Libraries + + + php3_mysql.dll (built into PHP 4) + MySQL functions + + + php_nsmail.dll + Netscape mail functions + + + php_oci73.dll + Oracle functions + + + php_snmp.dll + SNMP get and walk functions (NT only!) + + + php_zlib.dll + ZLib compression functions + @@ -3318,7 +3317,6 @@ Paul Mckay. You can choose any extension you wish here. .php is simply the one we suggest. You can even include .html . - 18. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) @@ -3402,7 +3400,7 @@ Paul Mckay. - Details of installing Windows 9x/NT and Apache 1.3.x + Details of installing PHP on Windows 9x/NT/2000 with Apache 1.3.x You must edit your srm.conf or @@ -3526,15 +3524,15 @@ Paul Mckay. Caudium Server installs - PHP4 can be build as a Pike module for the Caudium webserver. Note - that this is not supported with PHP3. Follow the simple - instructions below to install PHP4 for Caudium. + PHP 4 can be build as a Pike module for the Caudium webserver. Note + that this is not supported with PHP 3. Follow the simple + instructions below to install PHP 4 for Caudium. Caudium Installation Instructions 1. Make sure you have Caudium installed prior to attempting to - install PHP4. For PHP4 to work correctly, you will need Pike + install PHP 4. For PHP 4 to work correctly, you will need Pike 7.0.268 or newer. For the sake of this example we assume that Caudium is installed in /opt/caudium/server/. 2. Change directory to php-x.y.z (where x.y.z is the version number). @@ -3543,9 +3541,9 @@ Paul Mckay. 5. make install 6. Restart Caudium if it's currently running. 7. Log into the graphical configuration interface and go to the - virtual server where you want to add PHP4 support. + virtual server where you want to add PHP 4 support. 8. Click Add Module and locate and add the PHP4 Script Support module. -9. If the documentation says that the 'PHP4 interpreter isn't +9. If the documentation says that the 'PHP 4 interpreter isn't available', make sure that you restarted the server. If you did check /opt/caudium/logs/debug/default.1 for any errors related to PHP4.so. Also make sure that caudium/server/lib/[pike-version]/PHP4.so @@ -3561,7 +3559,7 @@ Paul Mckay. - When compiling PHP4 with MySQL support you must make sure that + When compiling PHP 4 with MySQL support you must make sure that the normal MySQL client code is used. Otherwise there might be conflicts if your Pike already has MySQL support. You do this by specifying a MySQL install directory IIS4 versions. - Windows 95/98/NT and PWS/IIS 3 + Windows 9x/NT/2000 and PWS/IIS 3 The recommended method for configuring these servers is to use @@ -3914,12 +3912,12 @@ You should place the following lines after mime types init. - Omni HTTPd Server installs + OmniHTTPd Server installs - This section contains notes and hints specific Omni HTTPd. + This section contains notes and hints specific OmniHTTPd. - Omni HTTPd 2.0b1 and up for Windows + OmniHTTPd 2.0b1 and up for Windows This has got to be the easiest config there is: