PDA

View Full Version : can't open php pages



BlackSmith
08-10-2006, 06:48 AM
After were installed apache server and php I can not browse web pages with extension php ... why so?

codeexploiter
08-10-2006, 08:54 AM
Hi

1. Are you sure that Apache is running?

2. Have you changed the listening HTTP port from 80 to some other port?

3. Have you installed PHP in your machine?

4. Did you put your php pages into the correct web page publishing root of your Apache web server?

Instead of installing Apache, MySQL and PHP as different packages you can install any easy to install Apache distribution containing MySQL, PHP.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use.

Download it and double click on the installer it will install everything and after the installation put your php files into the 'htdocs' folder which is inside the xampp installation folder and try to access the page like

http://localhost/yourpage.php

or

http://yourcomputername/yourpage.php

or

http://127.0.0.1/yourpage.php

You can download XAMPP from http://www.apachefriends.org/en/xampp.html

Hope this will help you

Regards

Code Exploiter