Skip to content

opensource-socialnetwork/Microsoft-IIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

    image

  • 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

    image

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

    image

  • Now put index.php with content

    <?php 
    phpinfo();
    
  • RUN http://127.0.0.1/index.php and see if you see php information if so that means php works.

  • Now install MySQL with MySQL workbench to manage database. If you wanted to use MariaDB then install that.

  • Create database for OSSN

OSSN installation

  • Download latest version
  • Put it under C:\inetpub\wwwroot\
  • Extrat the content of this repository in C:\inetpub\wwwroot\
  • Now create a folder C:\inetpub\ossn_data\

ADDING WRITEABLE PERMISSIONS

  • Right click on C:\inetpub\ossn_data\ ossn_data folder and go to security tab -> Add image
  • After adding select the IIS_IUSRSuser with making sure in bottom you select Full control.
  • Same with C:\inetpub\wwwroot\ in this step you only need to select IIS_IUSRS image

Access installer

Now access the installer by http://127.0.0.1/

About

Running OSSN on IIS (We still don't official support IIS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages