开发者

Can't view XAMPP localhost Page except Apache "It Works!"

I am currently using Windows XP SP3 with Apache 2.2, PHP 5.3, MySQL 5.1 and XAMPP 1.7.3 installed.

However开发者_高级运维 after installing everything including XAMPP, I could not see the "XAMPP Welcome Page" at all! I only see the Apache default Page "It Works!!" on http://localhost/ . I also tried http://127.0.0.1/ but it gives back the same Apache results. My Apache and MySQL service seems to be running fine on the XAMPP console.

I have also placed a php file under C:\program files\apache\htdocs\test.php and access the page via http://localhost/test.php which works fine! I really can't guess why isn't the XAMPP installed over the Apache.

Can anyone please give some advice on the problem? Thanks.


XAMPP is a standalone AMP solution, so you don't need to install Apache or anything else with it. And if you do, both servers will probably conflict.

You need to either uninstall XAMPP, or uninstall Apache, PHP, and MySQL.

Note that XAMPP needs to be started up through its control panel, accessible from whatever start menu folder it will have created.

EDIT: Also, XAMPP has its own htdocs folder, located in C:\xampp\htdocs


Alternatively you can switch the port of the Apache server that came with your XAMPP installation via httpd.conf. and as it is described here for example:

Just remember to address the corresponding pages via http://localhost:XXXX XXXX being the new portnummer you picked (for example 8080).


check the port from xampp control panel >config > Apache httpd.conf

then

Can't view XAMPP localhost Page except Apache "It Works!"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜