https://github.com/opensource-socialnetwork/microsoft-iis
Running OSSN on IIS (We still don't official support IIS)
https://github.com/opensource-socialnetwork/microsoft-iis
Last synced: 27 days ago
JSON representation
Running OSSN on IIS (We still don't official support IIS)
- Host: GitHub
- URL: https://github.com/opensource-socialnetwork/microsoft-iis
- Owner: opensource-socialnetwork
- Created: 2023-07-22T22:50:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T12:22:02.000Z (over 2 years ago)
- Last Synced: 2025-01-19T10:43:14.493Z (12 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microsoft-IIS
Running OSSN on IIS (We still don't official support IIS) but OSSN works well with it.
## Server creation / Pre-requisites
- Making sure Windows Server 2019 or newer
- Making sure IIS 10 or newer is installed
- Making sure to install CGI for IIS (IIS -> Applications -> CGI when Adding new ROLE), remember to find it you need to click small arrow in the list of IIS.

- Installation of PHP 8.1 C:\PHP\
- Installation of ioncube loader 12 if using premium social network
- Enable all required PHP extensions for OSSN see list of required extensions https://www.opensource-socialnetwork.org/wiki/view/706/how-to-install-open-source-social-network
- Once installed PHP add it into environment variable C:\PHP\
- Verify environment variable by restarting CMD and run `php -version`
- Now add FastCGIModule for IIS Under `Handler Mapping`

Request path: *.php
Module: FastCgiModule
Executable: "C:\PHP\php-cgi.exe"
Name: PHP via FastCGI

- Now put index.php with content
```
Add

- After adding select the `IIS_IUSRS`user with making sure in bottom you select Full control.
- Same with C:\inetpub\wwwroot\ in this step you only need to select `IIS_IUSRS`

# Access installer
Now access the installer by http://127.0.0.1/