note 66365 added to install.windows

From: Date: Sat, 20 May 2006 04:57:48 +0000
Subject: note 66365 added to install.windows
Groups: php.notes 
Request: Send a blank email to php-notes+get-111718@lists.php.net to get a copy of this message
READ HERE If installing PHP 5.x on Windows Server 2003 / IIS 6.x ... It was extremely frustrating getting this to work, so hopefully my struggle will allow others to do this the *easy* way. BEFORE installing PHP 5 from a web tutorial (a good one found here: http://www.peterguy.com/php/install_IIS6.html) You need to READ THESE TIPS: #Necessary Permissions For WinServer 2003 / IIS6.0# These are the permission settings I found to work well with good security: NTFS permissions (right-click file or folder, select preferences, go to security tab) 1) PHP Install folder -> You need to give NT account: 'Network Service' read/execute permissions on the 'php' install folder (e.g., C:\\PHP). If you have a TMP or SESSION folder within the main PHP folder, you need to give account 'Network Service' read/execute AND write access on those folders. *(You DO NOT need to give the anonymous internet user account: 'IUSR_[name]' ANY permissions on the PHP INSTALL files themselves. )* 2) You DO need to give account: 'IUSR_name' Read/execute permissions on the actual WWW root folder and web .php files (if you want to apply to all sites) or each websites WWW root and .php files if running multiple sites. 3) Within the IIS 6.0 console itself, in the website's preferences (right click on ind. site or 'websites' node to apply to all sites -> select preferences) on the 'Directory Security' tab -> click edit, and if you wish to allow anonymous access to your site, check the anonymous access box and be sure to enter account: 'IUSR_name'. 4) *MOST IMPORTANT* As mentioned by a few others, install php and configure the php.ini WITH NO EXTENSIONS AT FIRST. The reason being if one of the extensions fail, the error dialog will pop up OUTSIDE of a terminal services window (remote desktop). So you will NOT BE ABLE to click on the error, and the websites php file you are trying to load in your browser will hang indefinately (after having this happen for 12 hours I almost went insane trying to figure out the problem) LOL. Then when you have successfully loaded a test php page in the browser, go back to the php.ini file and add extensions in one at a time. If YOU have any tips I haven't included, email me. Again, I am not a professional, still a student in learning. :) Now that you have read that, go back to the link I placed near the top, and follow his tutorial for general installation/setup. ---- Server IP: 64.71.164.2 Probable Submitter: 66.195.185.58 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/install.windows.php Edit -- http://master.php.net/note/edit/66365 Del: integrated -- http://master.php.net/note/delete/66365/integrated Del: useless -- http://master.php.net/note/delete/66365/useless Del: bad code -- http://master.php.net/note/delete/66365/bad+code Del: spam -- http://master.php.net/note/delete/66365/spam Del: non-english -- http://master.php.net/note/delete/66365/non-english Del: in docs -- http://master.php.net/note/delete/66365/in+docs Del: other reasons-- http://master.php.net/note/delete/66365 Reject -- http://master.php.net/note/reject/66365 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#111718) next »