PDA

View Full Version : Can anybody help me with downloading PHP?



JAD
04-24-2007, 04:24 AM
I know how to code php a little bit, and would love to learn. (Currently I know where to read to learn it :p) But the problem is, I've spent over 10 hours trying to get the stupid thing to install.... :( Php.net, 2000000 different php downloads.. :p Can anybody add me on msn, or give me a little tutorial on which to install and how to do it properly? That'd be AWESOME if you could, and I'd DEFINATELY ++ rep you :D Thanks in advance.

P.S. When you install it correctly, and you save some php code to the note pad into a file, then open it in your web browser, it should display what its supposed to do, not the whole code correct (Like wouldn't display <HTML>...etc)

Sp0rky
04-24-2007, 11:28 AM
Download php.

http://www.php.net/get/php-5.2.1-win32-installer.msi/from/a/mirror

Then code php in notepad or whatever and renamed it filename.php, ie replace the extention.

Open in firefox and you win?

On the other hand if you're trying to execute php scripts open command promt (start, run, cmd, ok) and drag the script accross to the command promt window and hit enter.

arti
04-25-2007, 03:25 AM
http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/index.html

The personal localhost server I have is Web-Developer Suite. Its about the fourth one down, and it includes SQL Cgi and PHP... all automatically installed for you, and you can choose to shut down or start up the server to your command.

I actually really like it, and Ive had several prior to this one.

Also, you dont double click on .php files to open them; you have to setup a personal server (http://localhost) that only you can view. Depending on your router and your firewall settings, if someone goes to http://your_ip, they can view your server... but 99% of routers block this and 99% of people have firewalls. If you still choose to do that, theres ways around it (Nat forwarding with DNS and such... Can find you a tutorial if you want.)

JAD
04-25-2007, 03:30 AM
Arti, can you please give me your msn? PMing it to me is OK if its private. I really need somebody to help me out with this, and that download looks awesome! I'll test it out. I just need help with what you said about the local host.

So if you could pm me your msn, that'd be AWESOME! Thanks a lot.

arti
04-25-2007, 03:37 AM
Arti, can you please give me your msn? PMing it to me is OK if its private. I really need somebody to help me out with this, and that download looks awesome! I'll test it out. I just need help with what you said about the local host.

So if you could pm me your msn, that'd be AWESOME! Thanks a lot.

Nah, Ill post it incase anyone else has any problems.

MSN : artificial1[at]gmail[dot]com

(Btw I believe I had you on MSN?)

JAD
04-25-2007, 03:59 PM
(Btw I believe I had you on MSN?)

You may already :p Sorry if I don't remember you being added, I think I sort of remember you now :p There are just so many people that add me daily, asking questions.. Always fixing scripts and stuff like that for my fellow scripters ;)

I'll get on later today when I get done with school.

Laterz.

Night
04-26-2007, 11:44 PM
the easiest package ive ever seen, that comes with a lot of stuff (including apache server) it configures it all for you.

xampp (http://www.apachefriends.org/en/xampp.html)

when youve installed it, you should place your files in the htdocs folder inside xampp folder. Then itll be localhost/whatever.php in your browser.

miken
05-04-2007, 06:29 AM
the easiest package ive ever seen, that comes with a lot of stuff (including apache server) it configures it all for you.

xampp (http://www.apachefriends.org/en/xampp.html)


X2 Definatly easiest package I've ever used for just testing websites and scripts.