shadowayex Posted June 16, 2008 Share Posted June 16, 2008 I was wondering if it'd be smart to install PHP on my computer. Right now I'm using a free hosting site and it's HTML Editor kind of sucks, but it has an option where I can upload files. I was thinking I could install PHP on my computer, use ConTEXT (a really cool editor) to develop my pages, test them like usual, then upload them onto the server, or should I just stick to using their editor? Link to comment Share on other sites More sharing options...
killboy Posted June 16, 2008 Share Posted June 16, 2008 I don't see why not.If you really want to learn PHP, you should have it on your computer so you can test all your scripts via localhost.PHP is even easier to install if you're working on Windows; programs like AppServ, XAMPP, WAMP... make all the work for you. Link to comment Share on other sites More sharing options...
shadowayex Posted June 16, 2008 Author Share Posted June 16, 2008 Well actually, I would still probably use the database for the website anyways. I'd just need PHP installed so it'd read it on my computer. I'm going to go get it now. Thanks. Link to comment Share on other sites More sharing options...
pulpfiction Posted June 16, 2008 Share Posted June 16, 2008 I prefer installing WAMP5 which installs Apache, PHP5 and MySQL on Windows platform.http://www.wampserver.com/en/download.php Link to comment Share on other sites More sharing options...
shadowayex Posted June 16, 2008 Author Share Posted June 16, 2008 I installed it. But when I try to open a page that has PHP, the PHP is displayed like text... what things do I need to turn on, shut off, and whatnot. Link to comment Share on other sites More sharing options...
Synook Posted June 17, 2008 Share Posted June 17, 2008 Which one did you install?If it was just PHP, then to view PHP pages in your browser you'll need to download a server such as Apache.If you downloaded a package such as WAMP, you have to place your files in the wamp/www/ folder and access them on http://localhost/. Link to comment Share on other sites More sharing options...
zppblood Posted June 17, 2008 Share Posted June 17, 2008 Make sure you are going to http://localhost or http://127.0.0.1 and you will need to have a web server like Apache, where you can use it as an Apache module or as CGI. WAMP makes it easy to install and use like the others have said.EDIT: Synook's post wasn't there when I pressed the AddReply button, so follow what he says. Link to comment Share on other sites More sharing options...
shadowayex Posted June 18, 2008 Author Share Posted June 18, 2008 I installed wampserver 2.0The problem was I wasn't going to localhost. Sorry, my dumb mistake. This is my first experience with developing PHP on my own computer. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.