Reply to Re: new to PHP -- basic questions...

Your name:

Reply:


Posted by Erwin Moller on 06/01/06 16:04

Frances wrote:

> I want to learn PHP.. I know JSP, Servlets, have been using Tomcat for
> 2 years now, and even though I know there are ways you can use PHP in
> conjunction with Tomcat, I'd rather not tinker with Tomcat..

Hi Frances,

I come from the same place.
PHP will is a lot easier to master than J2EE (servlets/taghandlers/etc).
:-)

>
> I think I'd rather try to do it straight 'from scratch'... following
> instructions here, http://us2.php.net/tut.php.. so you need both Apache
> **AND** PHP server?

Yes, you need a webserver.
This can be Apache (good choice).

PHP itself is not called a server.
You can install it cooperating with an existing webserver, so that webserver
can do PHP.


not sure what to dl when get to
> http://www.apache.org/ (HTTP Server? top link on the left..) I suppose
> for PHP I need to dl what's here, http://us2.php.net/downloads.php.. am
> on W2k, would like a binary, I assume top one under "Windows Binaries"?

Confusing? So is Tomcat for starters. ;-)
IMHO: By far the best way to install your PHP-stuff is AFTER reading through
http://nl2.php.net/manual/en/install.php

Do not use a ready-to-go installer unless you know what it is doing.


>
> Does PHP server come with adequate instructions (I mean how to
> install/run together w/the Apache server..)

That is described in detail in: II. Installation and Configuration

>
> would very much appreciate info/guidelines.. thank you..
>
> Frances

My advise is to first get apache up and running, and when you feel
confortable, start with PHP.
It sounds like you must learn both apache and PHP, so don't rush yourself.
Apache is huge with many configurationoptions, so it is impossible for
starters to read and understand it all right away.

The installinstructions for PHP from the above link are sometimes a bit
cryptic, but they are good and cover a lot of important stuff.

WAMP:
If you also plan on using mySQL as a database, then your setup is often
refered to on the net as WAMP (Windows/Apache/MySQL/PHP).

A few ready-to-go installers can be found to install the whole shebang right
away for you, but I don't know if they are good/reliable.
(I rather do stuff by hand myself untill I think I understand what is going
on.)

If you feel lost, always start at www.php.net and read the usercontributed
notes. In 90% of the cases you'll see others had your questions/problems
before.

Good luck!

Regards,
Erwin Moller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация