web dev help

Discussion in 'Questions and Answers' started by anlgp, Jan 5, 2010.

  1. anlgp

    anlgp ↑ ↑ ↓ ↓ ← → ← → B A

    i have a LAMP server set up.

    i've forwarded the appropriate ports for everyone to see it, but i can't get the index.html file to recognize the PHP because it doesn't have a .PHP extension it has a .html extension.

    so what i'm curious to know is:

    how do i get the index.html to either read the PHP inside the file OR how do i redirect index.html to index.php?

    please someone help :lol:
     
  2. anlgp

    anlgp ↑ ↑ ↓ ↓ ← → ← → B A

    got it.

    just had to delete index.html and create an index.php. i didn't specify which page would launch and so it automatically chooses index.html. since there's no index.html it proceeds to find a page it can launch which is now index.php
     

Share This Page