Results 1 to 2 of 2

Thread: can't open php pages

  1. #1
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default can't open php pages

    After were installed apache server and php I can not browse web pages with extension php ... why so?

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Thumbs up

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •