PHP: Installation on old Windows systems. This section applies to Windows 9. Me and Windows NT/2. XP/2. 00. 3. PHP. Windows 3. 1 and sometimes. Windows platforms as Win. Windows XP/2. 00. PHP 5. 5. 0. Windows 9. Me/NT4/2. 00. 0 are no longer supported as of PHP 5. Windows Server 2008 is a Microsoft server operating system released in February 2008. It is the successor to Windows Server 2003 and is based on the Windows Vista. Windows 9. 5 is no longer supported as of PHP 4. If you have a development environment such as Microsoft Visual Studio, you can also. PHP from the original source code. Once you have PHP installed on your Windows system, you may also. Manual Installation Steps. This section contains instructions for manually installing and configuring. PHP on Microsoft Windows. Selecting and downloading the PHP distribution package. Download the PHP zip binary distribution from. PHP for Windows: Binaries and Sources. There are several different versions of the zip package - to choose the right version for you. The PHP package structure and content. Unpack the content of the zip archive into a directory of your choice, for. C: \PHP\. The directory and file structure extracted from the zip will. Example #1 PHP 5 package structure. It is assumed that you have already successfully installed and configured Windows Server 2003 and setup IIS 6. There are currently 213 responses to “How To Install PHP on IIS 6.0” Why not let us know what you think by adding your own comment! Your opinion is as valid as. 152 Responses to “How to install smokeping under windows” Derek Says: July 5th, 2006 at 11:17 pm. How do you install SysLog support under windows? DLLs for PHP. | |- php_bz. PEAR. |- go- pear. PEAR setup script. CGI executable. |- php- win. Command line PHP executable (CLI). PHP DLL ( php. 5. Below is the list of the modules and executables included in the PHP zip. PEAR setup script. Refer to » Installation (PEAR). CGI executable that can be used when running PHP on IIS via CGI or Fast. CGI. php- win. exe - the PHP executable for executing PHP scripts without using a command line window. PHP applications that use Windows GUI). PHP executable for executing PHP scripts within a command line interface (CLI). Apache 2. 2. X module. Apache 2. 2. X filter. Changing the php. After the php package content has been extracted, copy the php. If necessary, it is also possible to place the php. PHP Configuration. The php. ini file tells PHP how to configure itself, and how to work with the. Here are a number of settings for the php. PHP work better with Windows. Some of these are optional. There are. many other directives that may be relevant to your environment - refer to the. Required directives. The extension_dir needs. PHP extensions files are stored. The path can be absolute. C: \PHP\ext") or relative (i. Extensions that are listed lower in the php. For each extension you wish to enable, you need a corresponding "extension=". PHP which extensions in the extension_dir to load at startup time. On - PHP has an error logging facility that can be used to send errors to a file. When running under IIS. The error_log needs to specify the absolute. PHP errors should be logged. This file needs to be writable for the web server. The most common places for this file are in various TEMP directories, for example "C: \inetpub\temp\php- errors. This directive is required for running under IIS. It is a directory security facility required by many other web servers. However, enabling it under IIS will. PHP engine to fail on Windows. This lets PHP access real path info following the CGI Spec. . The IIS Fast. CGI implementation needs this set.Fast. CGI under IIS supports the ability to impersonate.This allows IIS to define the security context that the request runs under.Fast. CGI logging should be disabled on IIS.If it is left enabled. Fast. CGI as error conditions which will cause IIS to generate an HTTP 5. Optional directives. This directive tells PHP the maximum amount of time that it can spend. The default for this is 3. Increase the value of this directive if PHP application take long time to execute. M - The amount of memory available for the PHP process, in Megabytes. The default is 1. PHP applications. Some of the more complex ones might need more. Off - This directive tells PHP whether to include any error messages in the. Web server. If this is set to "On", then PHP will send whichever classes of errors. For security reasons it is recommended to set it to "Off" on production servers in order not to reveal any. C: \inetpub\wwwroot; C: \inetpub\temp". This directive specified the directory paths where PHP. Any file operation outside of the specified paths will result in an error. This directive is especially useful for locking down the PHP installation in shared hosting environments to prevent. PHP scripts from accessing any files outside of the web site's root directory. M and post_max_size = ###M - . The maximum allowed size of an uploaded file and post data respectively. The values of these directives should be. PHP applications need to perform large uploads, such as for example photos or video files. PHP is now setup on your system. The next step is to choose a web. PHP. Choose a web server from the table of. In addition to running PHP via a web server, PHP can run from the command. BAT script. See. Microsoft IIS. This section contains PHP installation instructions specific to Microsoft Internet Information Services (IIS). Microsoft IIS 5. 1 and IIS 6. This section contains instructions for manually setting up Internet Information. Services (IIS) 5. IIS 6. 0 to work with PHP on Microsoft Windows XP and Windows. Server 2. 00. 3. For instructions on setting up IIS 7. Windows. Vista, Windows Server 2. Windows 7 and Windows Server 2. R2 refer to. Microsoft IIS 7. Configuring IIS to process PHP requests. Download and install PHP in accordance to the instructions described in. Note. Non- thread- safe build of PHP is recommended when using IIS. The non- thread- safe. PHP for Windows. Binaries and Sources Releases. Configure the CGI- and Fast. CGI- specific settings in php. Example #2 CGI and Fast. CGI settings in php. Download and install the » Microsoft Fast. CGI Extension for IIS 5. The extension is available for 3. Configure the Fast. CGI extension to handle PHP- specific requests by running the command shown below. Replace the value of the "- path" parameter with the absolute file path to the. Example #3 Configuring Fast. CGI extension to handle PHP requests. PHP" ^. - extension: php - path: "C: \PHP\php- cgi. This command will create an IIS script mapping for *. URLs. that end with . Fast. CGI extension. Also, it will configure Fast. CGI extension to. PHP requests. At this point the required installation and configuration steps are completed. The remaining. instructions below are optional but highly recommended for achieving optimal functionality. PHP on IIS. Impersonation and file system access. It is recommended to enable Fast. CGI impersonation in PHP when using IIS. on this page. This. is controlled by the fastcgi. When. impersonation is enabled, PHP will perform all the file system operations on. IIS authentication. This. ensures that even if the same PHP process is shared across different IIS web. PHP scripts in those web sites will not be able to access each. IIS authentication. For example IIS 5. IIS 6. 0, in its default configuration, has anonymous authentication enabled. IUSR_< MACHINE_NAME> used as a default identity. This means that in. IIS to execute PHP scripts, it is necessary to grant IUSR_< MACHINE_NAME> account. If PHP applications need to perform write operations on certain. IUSR_< MACHINE_NAME> account should have write permission to those. To determine which user account is used by IIS anonymous authentication, follow these steps. In the Windows Start Menu choose "Run: ", type "inetmgr" and click "Ok"; Expand the list of web sites under the "Web Sites" node in the tree view, right- click on a web. Properties". Click the "Directory Security" tab; Take note of a "User name: " field in the "Authentication Methods" dialog. To modify the permissions settings on files and folders, use the Windows Explorer user interface. Example #4 Configuring file access permissions. C: \inetpub\wwwroot\upload /grant IUSR: (OI)(CI)(M). Set index. php as a default document in IIS. The IIS default documents are used for HTTP requests that do not specify a document name. With PHP applications. To add index. php to the list of. IIS default documents, follow these steps. In the Windows Start Menu choose "Run: ", type "inetmgr" and click "Ok"; Right- click on the "Web Sites" node in the tree view and select "Properties"; Click the "Documents" tab; Click the "Add.." button and enter "index. Default content page: ". Fast. CGI and PHP Recycling configuration. Configure IIS Fast. CGI extension settings for recycling of PHP processes by using the commands shown below. The Fast. CGI setting instance. Max. Requests controls how many requests will be processed by a single. Fast. CGI extension shuts it down. The PHP environment variable. PHP_FCGI_MAX_REQUESTS controls how many requests a single php- cgi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2018
Categories |