Caligo Posted October 31, 2006 Share Posted October 31, 2006 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 More sharing options...
aspnetguy Posted October 31, 2006 Share Posted October 31, 2006 if it is just for local development XAMPP would be much easier to setup. Link to comment Share on other sites More sharing options...
Caligo Posted October 31, 2006 Author Share Posted October 31, 2006 if it is just for local development XAMPP would be much easier to setup.ok, so I installed it, but how do I get it so I can actually use php? Link to comment Share on other sites More sharing options...
Ruud Hermans Posted October 31, 2006 Share Posted October 31, 2006 ok, so I installed it, but how do I get it so I can actually use php?You can istantly just store the files in your htdocs folder and visit your localhost.Ruud Hermans Link to comment Share on other sites More sharing options...
Caligo Posted October 31, 2006 Author Share Posted October 31, 2006 You can istantly just store the files in your htdocs folder and visit your localhost.Ruud HermansI 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 More sharing options...
Ruud Hermans Posted October 31, 2006 Share Posted October 31, 2006 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 Link to comment Share on other sites More sharing options...
Caligo Posted October 31, 2006 Author Share Posted October 31, 2006 The way you just wrote it down, just a stupid question but are you sure you stored the file with a .php extension?Ruud HermansYep, 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now