Jump to content

Localhost


kirbyweb
 Share

Recommended Posts

I do not see any answers, but do I need to download a server?If so is there a quick download?
really, you say there's no answers to your questions....? :)
There are lots of resources, the prime one being php.net. The tutorials for the other part of this site are good too: w3schools PHP tutorials. In addition, justsomeguy has compiled a thread of some of the most essential and commonly used PHP features here: justsomeguy's PHP thread. Read these and try out some of your own ideas with them and post specific problems as you encounter them - there are plenty people here who can and will help, but there's no advantage in us just chopping up the tutorials that are already available and posting them a mouthful at a time.
depends. I think Windows has IIS, which you might need the install CD for. if not, this could probably get you going in the right direction, but requires a download (free I think).http://www.ehow.com/how_2069183_install-lo...er-windows.html\edit: for IIShttp://www.webwizguide.com/kb/asp_tutorial...s_winXP_pro.aspbut looks like you need XP Pro
Kirby, you cannot run PHP code without a web server. Double-clicking on a PHP file isn't going to do anything, your web browser doesn't know what to do with PHP code. Only a web server with PHP installed will be able to execute the code for you. In order to run your page through a web server, in your browser the URL to your page must start with http://. If it starts with file:// or anything else it's not going to run the PHP code.If you want to learn PHP, the first thing is to either get a test server set up on your own machine or get hosting on a server with PHP installed. It's going to be easier to develop if you have a local test server. There are packages like WAMP and XAMPP that include a web server, PHP, and the MySQL database. If you installed one of those you would be able to use the web server to run PHP. Download either WAMP or XAMPP and read the installation instructions to see how to set up your files so that you can access them over HTTP.If you want a text editor, there's a link to ConTEXT in my signature, that's the one I use.
please, this:http://w3schools.invisionzone.com/index.php?showtopic=28342http://w3schools.invisionzone.com/index.php?showtopic=28339http://w3schools.invisionzone.com/index.php?showtopic=28308is just starting to get a little absurd, no offense. Edited by thescientist
Link to comment
Share on other sites

To run php on your computer, install a pre-packaged server. Check out "WAMP" if you run Windows, "MAMP" if you run a Mac os. If you are running linux, it is already on your operating system, you just need to install it.If you should install WAMP, navigate to the root folder and put your files in the folder "wamp/www/". With MAMP, place your files in the folder /Applications/MAMP/htdocs/. I haven't worked with linux, so I can't assist you there.To me there is not much use dealing with a php install and configuration, along with MySQL if you are into that (which all of the packages have).

Link to comment
Share on other sites

Note that not all Linux distros have a LAMP stack pre-installed, but it will be installable through the package manager. Ubuntu has a nice tasksel utility I discovered recently that can quickly install and configure a whole lot of different servers for you.

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
 Share

×
×
  • Create New...