Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
appwiki:xampp [2021/08/22 19:49] – created ying | appwiki:xampp [2024/04/14 15:55] (current) – [configure file] ying | ||
---|---|---|---|
Line 63: | Line 63: | ||
^MySQL configuration |/ | ^MySQL configuration |/ | ||
+ | * enable PHPZip module for php < | ||
+ | * remove ; from < | ||
+ | * save and restart | ||
====== xampp customize htdoc location path ====== | ====== xampp customize htdoc location path ====== | ||
Line 95: | Line 98: | ||
</ | </ | ||
* also make your rewrite module for php is loaded in httpd.conf < | * also make your rewrite module for php is loaded in httpd.conf < | ||
+ | |||
+ | |||
+ | ====== xampp customize local domain for a local web path ====== | ||
+ | |||
+ | Steps: | ||
+ | - use hosts file to point the domain to local 127.0.0.1, example " | ||
+ | 127.0.0.1 | ||
+ | 127.0.0.1 | ||
+ | </ | ||
+ | - in xampp/ | ||
+ | < | ||
+ | DocumentRoot "/ | ||
+ | ServerName test.com | ||
+ | < | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | ServerAlias www.test.com | ||
+ | ErrorLog " | ||
+ | CustomLog " | ||
+ | </ | ||
+ | < | ||
+ | DocumentRoot "/ | ||
+ | ServerName localhost | ||
+ | </ | ||
+ | </ | ||
+ | - now, restart apahce server, type " | ||
+ | - extra tips: | ||
+ | - for wordpress install at that path, it will pop up ask database server setting in wordpress initial step, | ||
+ | - since wordpress alone dont create database for itself, you need go http:// | ||
+ | - then, continue wordpress db connection with the db name you created, default db for xampp is root/no pass. rest as default should finish wordpress initialization | ||
====== xampp customize http broadcast port ====== | ====== xampp customize http broadcast port ====== | ||
- edit xampp/ | - edit xampp/ |