New to PHP

This is a discussion on "New to PHP" within the PHP Forum section. This forum, and the thread "New to PHP are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 5th, 2007, 23:12
New Member
Join Date: Apr 2007
Location: Norway
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
New to PHP

Hello, I've done some HTML and XHTML earlier but wanted to learn something more. So I thought I'd give PHP a try, however I couldn't even get passed the first page on the tutorial without getting confused.

- Install an Apache server on a Windows or Linux machine
- Install PHP on a Windows or Linux machine
- Install MySQL on a Windows or Linux machine

First one seems pretty okey, but install PHP? and install MySQL? I thought this were things the servers had? Is it something I need to see what I'm making before publishing it or?

Anyway, where can I find these stuff?
Reply With Quote

  #2 (permalink)  
Old Apr 6th, 2007, 00:13
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

The big question is, "does your server support php? "

If you have a server/hosting package that supports php you can skip this step and write .php files that you upload to your site. Most good hosts support PHP and their sever will parse the code for you.

If you don't have an online host which supports PHP then you will need to install PHP, MySQL, and Apache to your hard drive in order to write php files.
Reply With Quote
  #3 (permalink)  
Old Apr 6th, 2007, 00:41
New Member
Join Date: Feb 2007
Location: Norway
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

Well I don't know if it's normal to support PHP and all those stuff on free servers, But I don't really want to use money now in the making phase. Although it might be reasonable to rent a server for it later rather than using free once I don't see the point in spending money to rent a webhotel when it's not done and ready for the public.

So if I do install these components I can create and view/test it localy?
In that case, I have one more question. Where can I find these files? I know I could probably google my way and find it, but I tried that and couldn't really make sence of all the results I got.
Reply With Quote
  #4 (permalink)  
Old Apr 6th, 2007, 00:44
New Member
Join Date: Feb 2007
Location: Norway
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

Oh yeah, and to avoid confusion.... It's me "tibreum", dIdn't realize I was online with my brothers account....
Reply With Quote
  #5 (permalink)  
Old Apr 6th, 2007, 04:13
sannbe's Avatar
SuperMember

SuperMember
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

I use Xampp. will give you every thing you need. I use it to test site locally before uploading. Fun and easy to learn.
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)

Last edited by sannbe; Apr 6th, 2007 at 04:14. Reason: Spelling*sara pulls hair out and then spells Xampp correctly
Reply With Quote
  #6 (permalink)  
Old Apr 6th, 2007, 09:22
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

Velkommen til Webforumz
Reply With Quote
  #7 (permalink)  
Old Apr 6th, 2007, 11:58
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

edit..... saw a flaw in my plan
Reply With Quote
  #8 (permalink)  
Old Apr 6th, 2007, 12:31
New Member
Join Date: Apr 2007
Location: Norway
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

Okey, thanks!
I'll try install that and start learning some PHP ^^
Reply With Quote
  #9 (permalink)  
Old Apr 6th, 2007, 15:04
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: New to PHP

Yeah xampp is great! You can run MySQL, PHP, Pearl, and so much more. Great way to learn locally on your computer with great speed, for FREE!! Have FUN!!
Reply With Quote
  #10 (permalink)  
Old Apr 7th, 2007, 00:47
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

If you have a server, my advice is: don't bother installing all that crud on your HD for a bit.

It takes a little longer, but you can easily keep your FPT program connected and just save and upload your code to your server to view the result. This also ensures you won't have different software versions and settings on your HD and server, which is another headache you don't need.

If you start getting into PHP, it's nice to have it on your HD -- testing changes is a few seconds faster and you can do it when your ISP goes down. But it's not a huge deal, considering the various hassles.

One other benefit, come to think of it, is that you can use a more advanced editor if you have PHP on your HD. I don't think a heavy editor is a good idea for learning, since it will become a crutch, but they're nice for heavy production work.

Oh yeah, I think Xampp is great but it caused all kinds of problems with my OS or whatever.

Last edited by masonbarge; Apr 7th, 2007 at 00:52.
Reply With Quote
  #11 (permalink)  
Old Apr 18th, 2007, 06:38
New Member
Join Date: Jul 2006
Location: Wichita, KS
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to PHP

Hello,

For windows platform, XAMP package is the best. Is available as a free download in http://apachefriends.org/en/xampp.html

PHPmyadmin, Apache, PHP, MYSQL, and essential components of scripting all are available in that package.

Just download and install it will work fine.

____________________________________

www.realmetrics.com - Metrics you can count on
Reply With Quote
Reply

Tags
noob, php

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43