Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP on my local machine?

Status
Not open for further replies.

FederalProgrammer

Programmer
Joined
Jul 2, 2003
Messages
318
Location
CA
I cannot view my php scripts (stored on my local machine)!
I have downloaded Apache and php;
I have configured httpd.conf file so it loads php5*.dlls
and I do have a mySQL server on my machine (however, I haven't touched its configuration)
I am trying to write a simple php script (stored in a .html file) and when I try to see its result using my IE.browser, i don't get anything (I get the text I wrote in html, but it seems like the php part is completely ignored)!!

in terms of configuration, what i've wrote earlier is all i've done (i'm probably missing a whole lot more)
please don't hesitate to suggest anything... even the most simple things...
cheers!
 
Unless you specifically enabled parsing .html files for php scripts the server won't do so and will just show the script. Try changing the file to .php extension and try again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top