Jump to content

Apache, again


Caligo

Recommended Posts

Alright, a while back I asked how to install apache so that it would work locally. I was told to put http://localhost/ for the Network Domain and Server Name and to just put my email address, basically for taking up space.Anyways, I tried all that and I couldn't get it to work. I installed php and mysql and couldn't get anyof it to work. I found a site that says about the same thing [link] I tried it that way, but it still didnt work.Any help would be super appreciated

Link to comment
Share on other sites

You can istantly just store the files in your htdocs folder and visit your localhost.Ruud Hermans
I figured that out, thanks anyways. The thing is that it doesn't actually echo, it just displays all of the code.I figure id just stay with the simple thing...so here is the code.<?phpecho "Hello World";?>instead of just showing Hello World, it shows all of the code too.How do I get it so it actually echoes
Link to comment
Share on other sites

The way you just wrote it down, just a stupid question but are you sure you stored the file with a .php extension?Ruud Hermans
Yep, I'm sure. But now I have different question.According to this (im using apache again, I got it so localhost works) I have to configure the httpd.conf file once php is installed, so i did. Now, though, when I go to the file through the browser it comes up with a thing for me to download the page.I've done everything the article has said up through the php section. the problem for me lies in the php section.(sorry for being a nuisance)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...