Subversion Repositories oidplus

Rev

Rev 348 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 348 Rev 349
Line 1... Line 1...
1
 
1
 
2
Install OIDplus to Microsoft IIS
2
Install OIDplus to Microsoft IIS
3
================================
3
================================
4
 
4
 
5
(1) Install IIS using "Programs and Features" in the control panel
5
(1) Install IIS using "Programs and Features" in the control panel
-
 
6
	( Source: https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php )
6
 
7
	
-
 
8
	Install on a Windows Client (Windows 7/8/10 etc.):
-
 
9
		At the command promt, run appwiz.cpl
-
 
10
		Click Turn Windows features on or off.
-
 
11
		In the Windows Features dialog box, click Internet Information Services, note the preselected features that are installed by default, and then select CGI. This selection also installs FastCGI, which is recommended for PHP applications.
-
 
12
		Click OK.
-
 
13
		To verify that IIS installed successfully, type the following into a web browser: http://localhost
-
 
14
		You see the default IIS Welcome page.
-
 
15
		
-
 
16
	Install on a Windows Server:
-
 
17
		Open the Window Server Manager
-
 
18
		In Server Manager, select Dashboard, and click Add roles and features.
-
 
19
		In the Add Roles and Features Wizard, on the Before You Begin page, click Next.
-
 
20
		On the Select Installation Type page, select Role-based or Feature-based Installation and click Next
-
 
21
		On the Select Destination Server page, select Select a server from the server pool, select your server, and click Next.
-
 
22
		On the Select Server Roles page, select Web Server (IIS), and then click Next.
-
 
23
		On the Select Features page, note the preselected features that are installed by default, and then select CGI. This selection also installs FastCGI, which is recommended for PHP applications.
-
 
24
		Click Next.
-
 
25
		On the Web Server Role (IIS) page, click Next.
-
 
26
		On the Select Role Services page, note the preselected role services that are installed by default, and then click Next.
-
 
27
		Note: You only have to install the IIS 8 default role services for a static-content web server.
7
	see tutorial here https://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/
28
		On the Confirm Installation Selections page, confirm your selections, and then click Install.
-
 
29
		On the Installation Progress page, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.
-
 
30
		To verify that IIS installed successfully, type the following into a web browser: http://localhost
-
 
31
		You should see the default IIS Welcome page.
8
 
32
 
9
(2) Install PHP using the Web Platform Installer
33
(2) Install PHP using the Web Platform Installer
10
 
-
 
11
	see more here: https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php
34
	Go to https://www.microsoft.com/web/downloads/platform.aspx
-
 
35
	Click "Install this extension" to download the setup
-
 
36
	Run WebPlatformInstaller_x64_en-US.msi
-
 
37
	Accept the license aggreement
-
 
38
	In the searchbox at the top right, enter "PHP" and press return
-
 
39
	Select PHP 7.4 or similar
12
	
40
	
13
	Note: The Web Platform Installer sometimes exits with an error (signature verification failed etc),
41
	Note: The Web Platform Installer sometimes exits with an error (signature verification failed etc),
14
	but you can ignore it, as PHP is actually successfully installed!
42
	but you can ignore it, as PHP is actually successfully installed!
15
 
43
 
16
(3) Place OIDplus here:
44
(3) Place OIDplus here:
Line 30... Line 58...
30
	curl.cainfo=C:\Program Files\PHP\extras\ssl\cacert.pem
58
	curl.cainfo=C:\Program Files\PHP\extras\ssl\cacert.pem
31
	Attention: Do not write "Program Files (x86)", even though it might be the right directory.
59
	Attention: Do not write "Program Files (x86)", even though it might be the right directory.
32
	           Otherwise, PHP will not work anymore "MBstring not found" ... a bug in PHP?!
60
	   Otherwise, PHP will not work anymore "MBstring not found" ... a bug in PHP?!
33
	           
61
	   
34
	Open cmd as administrator and run "iisreset"
62
	Open cmd as administrator and run "iisreset"
-
 
63
 
-
 
64
(6) Open http://localhost/oidplus and follow the setup instructions