Install wiki on win server
Prepare
Python
- Install Python
PHP
MYSQL
- Install MYSQL
- Select Custom
- Install Server
- Install WorkBench
- Install MYSQL shell
Media WIKI
- mediawiki from archive
Setup MySQL
- install with legacy password
- remove .NET connector
create:
mysql -uroot -ppassword
CREATE DATABASE fieldprowiki;
backup: mysqldump.exe -uroot -ppassword fieldprowiki > e:\fieldprowiki.sql
restore: mysql -uroot -ppassword fieldprowiki < e:\fieldprowiki.sql
if 'caching_sha2_password' error - then:
- C:\ProgramData\MySQL\MySQL Server 8.0\my.ini - update 'caching_sha2_password' to 'mysql_native_password'
and then update mysql:
- login in mysql: mysql -uroot -ppassword
- ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
Setup IIS:
- add application pool (with 32bit)
- add default document: index.php
- FastCGI Settings: add application: C:\php\php=cgi.exe