Friday, January 7, 2011

XAMPP and old APACHE


Before I install XAMPP in my Windows XP, I already install Apache server 2.2.
When I run XAMPP,  the default homepage in http://localhost will not show the index.html
under C::\xampp\htdocs
It shows the index.html in old Apache2.2
C:\Program Files\Apache Software  Foundation\Apache2.2\htdocs
You can use portcheck in xampp to see which apache is used.

Important files for configuration files in xampp:
Apache Conf File (httpd.conf): C:\xampp\apache\conf\httpd.conf
( if another Apache 2.2 is used, go to Apache 2.2 httpd.conf, if you don't want the wwwroot 

under htdocs, change DocumentRoot in httpd.conf. In my case, I use:
DocumentRoot "C:\test\CESEI"
<Directory "C:\test\CESEI"> )
PHP Conf File (php.ini): C:\xampp\apache\bin\php.ini
MySQL Conf File (my.cnf): C:\xampp\mysql\bin\my.cnf

No comments:

Post a Comment