Archive:Account Portal: Difference between revisions
From OuroDev
No edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
# Install XAMPP for Windows (https://www.apachefriends.org/index.html). You only need the Apache module, unless you're doing other stuff with your server too. | # Install XAMPP for Windows (https://www.apachefriends.org/index.html). You only need the Apache module, unless you're doing other stuff with your server too. | ||
# Install the Microsoft PHP drivers for SQL Server (https://www.microsoft.com/en-us/download/details.aspx?id=20098). If you installed XAMPP into the default location, then the place you want to unpack the PHP drivers is C:\xampp\php\ext | # Install the Microsoft PHP drivers for SQL Server (https://www.microsoft.com/en-us/download/details.aspx?id=20098). If you installed XAMPP into the default location, then the place you want to unpack the PHP drivers is C:\xampp\php\ext | ||
# Modify your C:\xampp\php.ini, add the following lines to your Dynamic Extensions section. XAMPP PHP is version 7.3, thread-safe. Example: extension=php_sqlsrv_73_ts_x64 extension=php_pdo_sqlsrv_73_ts_x64 | # Modify your C:\xampp\php.ini, add the following lines to your Dynamic Extensions section. XAMPP PHP is version 7.3, thread-safe. Example: | ||
extension=php_sqlsrv_73_ts_x64 | |||
extension=php_pdo_sqlsrv_73_ts_x64 | |||
# I recommend you also set up HTTPS on your Apache server, I used Win-Acme (https://github.com/PKISharp/win-acme). The instructions for Apache is https://github.com/PKISharp/win-acme/wiki/Apache-2.4-basic-usage. | # I recommend you also set up HTTPS on your Apache server, I used Win-Acme (https://github.com/PKISharp/win-acme). The instructions for Apache is https://github.com/PKISharp/win-acme/wiki/Apache-2.4-basic-usage. | ||
Have fun :) | Have fun :) |
Revision as of 00:03, 28 April 2019
A PHP application to allow users to create their own accounts and change their passwords.
Obtain the source code from Github (https://github.com/auroris/City-of-Heroes-Account-Portal)
Instructions
- Install XAMPP for Windows (https://www.apachefriends.org/index.html). You only need the Apache module, unless you're doing other stuff with your server too.
- Install the Microsoft PHP drivers for SQL Server (https://www.microsoft.com/en-us/download/details.aspx?id=20098). If you installed XAMPP into the default location, then the place you want to unpack the PHP drivers is C:\xampp\php\ext
- Modify your C:\xampp\php.ini, add the following lines to your Dynamic Extensions section. XAMPP PHP is version 7.3, thread-safe. Example:
extension=php_sqlsrv_73_ts_x64 extension=php_pdo_sqlsrv_73_ts_x64
- I recommend you also set up HTTPS on your Apache server, I used Win-Acme (https://github.com/PKISharp/win-acme). The instructions for Apache is https://github.com/PKISharp/win-acme/wiki/Apache-2.4-basic-usage.
Have fun :)