Jump to content

Installing php on windows!!


remrow

Recommended Posts

You can set up the server yourself from individual components but it is tedious and can so easily go wrong.

Link to comment
Share on other sites

I'm currently trying to install PHP on my windows XP. So the Wampserver.com will have everything I need for my computer? What's the EXACT link(s) of the file(s) download that will have everything I need to run APACHE MySQL and PHP on my computer. Can I work offline with PHP too? I would assume yes? This forum thread is godsent because I'm having the same problem.

Link to comment
Share on other sites

It's only 20 MB and your going to be a long time downloading it?? Do you still have DiAlUp? 20 MB for me is about 10 minutes...My internet is down at the house, and when I fix it I will go download WAMP :).

You can run PHP on a command line but it's most useful in a web server environment. That doesn't mean the web server needs to be online to internet traffic, just running so that it can be accessed via localhost at least.
So I can be offline while working on PHP?
You can run PHP on a command line but...
You mean Command Prompt Program? What "command line" do you mean
Link to comment
Share on other sites

You don't need to have an internet connection to run PHP. You do need a web server if you want to build a web application though, or else you're limited to things that the command line provides. The Windows command prompt is one command line.http://www.php.net/manual/en/features.commandline.php

Link to comment
Share on other sites

hey guys i have downloaded the wampserver. And i don't know how to make the use of it. Where do i save my php files??

It's only 20 MB and your going to be a long time downloading it?? Do you still have DiAlUp? 20 MB for me is about 10 minutes...My internet is down at the house, and when I fix it I will go download WAMP :). So I can be offline while working on PHP?You mean Command Prompt Program? What "command line" do you mean
Link to comment
Share on other sites

You can save your PHP files anywhere. Now that you have WAMP installed, you can code PHP and now you will be able to look at it. Before I couldn't code PHP (Well I mean I couldn't see my results in a browser.) You can do anything now with APACHE MySQL and PHP

Link to comment
Share on other sites

You can save your PHP files anywhere.
! You can save them anywhere, but to successfully execute them via a browser they have to be in the www folder of your installation (default for WAMP is C:\wamp\www\) or one of its subfolders, and to run them you need to access them via http://localhost/
Link to comment
Share on other sites

ahh! I have my iss root folder in d:/server (localhost)i have some php page on it and when i tried to open it with a server then it doesn't opens. I also have started the wamp. (when instaling i made the server name remrow(like localhost))you said there must be www folder but .... idk.

Link to comment
Share on other sites

When I open the file I double click it in my folder. That opens as a file and I KNOW I shouldn't do it like that. How can I write the link to open as http://localhost/ ?
I rarely say this, as I try to be as understandable as possible, but - now THAT is a stupid question!How do you "write the link so that it opens as" (or should I say "how do you go to") www.w3schools.com? You "write it so that it opens as" (go to) localhost in the same way.
Link to comment
Share on other sites

hey come on no more replies like type 'http://localhost/' i do know that. Problem is i cannot run php scripts. The ie says the navigation cannot be ...(something like started)So what's up. I have started the wamp server though the problem is the same.

Open a web browser, click in the address bar, and type "http://localhost/".
Link to comment
Share on other sites

I had the same problem. Do these stepsGet internet.Load WAMP, left click the icon that came up and hit Run All Servicesopen up a browser. e.g Mozilla Firefox.Go to the www folder located in the WAMP file. Place the file in there. for example. lets do this filename PHPtest.phptype in http://localhost/PHPtest.php cAsE sEnSiTiVeTell me if THAT doesn't work.

Link to comment
Share on other sites

still couldnot run php on windows. YOu see i have installed IIS and wamp server. I already can work with the asp but still can't work with php. As you have suggested i have made a www folder and made it a server and tried to run the php but it doesn't runs.Is it happening due to IIS?extra --how to use the contorl panel like in IIS to change the directory of server and likethat in wamp server??

Link to comment
Share on other sites

still couldnot run php on windows. YOu see i have installed IIS and wamp server. I already can work with the asp but still can't work with php. As you have suggested i have made a www folder and made it a server and tried to run the php but it doesn't runs.Is it happening due to IIS?extra --how to use the contorl panel like in IIS to change the directory of server and likethat in wamp server??
YES!Turn IIS off and then also turn off WAMP. Then turn WAMP on again (a "restart" is a different operation than turning off and on actually - seems not to do the deal in delicate cases like this).After you do this, you should not be able to run ASP pages, but you should instead be able to run PHP pages the way SpOrTsDuDe.Reese said you can.BTW, if you want to do this without WAMP (there will be various reasons later as to why you'd want this), you can try Tanguay's tutorial. It's the best... lots of screenshots AND detailed explanations along the way. Just know that since the time this tutorial was written, Apache can now be found from the "Other files" link on Apache's page... or just in this folder to be more precise.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...