Difference between revisions of "Install wiki on win server"
Line 3: | Line 3: | ||
# php from archive // latest php (64bit threads safe) (php-7.3.2-Win32-VC15-x64.zip) | # php from archive // latest php (64bit threads safe) (php-7.3.2-Win32-VC15-x64.zip) | ||
# latest mysql (mysql-installer-community-8.0.11.0.msi) | # latest mysql (mysql-installer-community-8.0.11.0.msi) | ||
+ | |||
'''Setup MySQL:''' | '''Setup MySQL:''' | ||
Line 15: | Line 16: | ||
''restore:'' | ''restore:'' | ||
mysql -uroot -pprosuite fieldprowiki < e:\fieldprowiki.sql | mysql -uroot -pprosuite fieldprowiki < e:\fieldprowiki.sql | ||
+ | |||
''if 'caching_sha2_password' error - then:'' | ''if 'caching_sha2_password' error - then:'' | ||
Line 21: | Line 23: | ||
# mysql -uroot -pprosuite | # mysql -uroot -pprosuite | ||
# ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite'; | # ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite'; | ||
+ | |||
+ | |||
+ | '''Setup IIS:''' | ||
+ | # add application pool (with 32bits) | ||
+ | # add default document: index.php | ||
+ | # FastCGI Settings: add application: C:\php\php=cgi.exe |
Revision as of 10:44, 27 February 2019
install:
- pyton need 2.7.xx 32bit version (python-2.7.12.msi)
- php from archive // latest php (64bit threads safe) (php-7.3.2-Win32-VC15-x64.zip)
- latest mysql (mysql-installer-community-8.0.11.0.msi)
Setup MySQL:
create: mysql -uroot -pprosuite CREATE DATABASE fieldprowiki;
backup: mysqldump.exe -uroot -pprosuite fieldprowiki > e:\fieldprowiki.sql
restore: mysql -uroot -pprosuite 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 login in mysql:
- mysql -uroot -pprosuite
- ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite';
Setup IIS:
- add application pool (with 32bits)
- add default document: index.php
- FastCGI Settings: add application: C:\php\php=cgi.exe