Getting started with PHP

They have: 7 posts

Joined: Apr 2002

Hello Everyone:

I'd like to start learning about PHP. Can someone tell me what I need to get started? I have some ASP experience using Personal Web Server on Windows 98. Is it possible to run PHP on my PC ? If so, what do I need?

thanks,

Block

He has: 1,016 posts

Joined: May 2002

There is a very useful manual at http://www.php.net/. However, maybe you rather go buy a book?
To run PHP on your own computer, you need a webserver that can support PHP. Personally, I run Apache, MySQL and PHP both on our Linux server and for testing reasons on my own Windows2000 desktop. I'm not sure if Apache is the best choice for a newbie though. Maybe someone else can recommend a more userfriendly webserver for Windows.

Anyways, here are some useful links:

PHP - http://www.php.net/
Apache - http://httpd.apache.org/
MySQL - http://www.mysql.com/

They have: 8 posts

Joined: May 2002

I would suggest using Windows 2k or XP if you are comfortable with windows. Otherwise, go to php.net and download the latest version of PHP.

PHP is similar to ASP, but there are a few differences. Check out the manual that zollet mentioned.

You can also look at some examples of scripts by going to hotscripts.com and then go to the php section. There is a script help area in there as well as some pre-made scripts.

The windows binary should be able to work on your PC. Just follow the installation instructions.

Zimbabwe2002

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I wouldn't exactly say PHP is similar to ASP. Rather, I would say that they are quite different. But anyway...

Long long ago....
I ran Win98SE + Apache + PHP + mySQL. It worked fine.

Mark Hensler
If there is no answer on Google, then there is no question.

He has: 1,016 posts

Joined: May 2002

I was just thinking about posting that before I saw Mark's post. Although there are a lot of similarities in most programming languages, ASP and PHP are not very close to each other. If there’s anything close to PHP, it must be Perl.

Busy's picture

He has: 6,151 posts

Joined: May 2001

there are several places around you can get the apache/php/mysql bundle and install from one, http://firepages.com.au/ is one place

use Apache, loose PWS nothing but trouble. PHP is fairly easy to learn and lots of fun, having apache on your pc allows you to work offline then when you have it working just upload the files to your hosts server and your away.

btw i am running the above on win 98

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

I highly-recommend Kevin Yank's getting started with PHP/MySQL book at SitePoint.com.

They have: 7 posts

Joined: Apr 2002

Thanks all! Very helpful info.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.