Help for newbie with PHP

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
sherry
Forum Newbie
Posts: 1
Joined: Sun Jun 04, 2006 8:09 am

Help for newbie with PHP

Post by sherry »

I am a newbie with PHP. I am an experienced Java/J2EE programmer.

I want a few clarifications.
1) I downloaded PHP 5.0 binary from the PHP website. It is a zipped file and does not contain any setup.exe or installer file. So how do I install it?

2) Can I replace JSP code with PHP?

3) PHP is considered best when used with MySQL. Why?

4) Can I use PHP with Weblogic 8.1? If not, what are the other possible web server alternatives?

5) Is IIS a mandatory web server required with PHP?

6) Does Windows XP have IIS built in or do I have to install it separately?

Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Re: Help for newbie with PHP

Post by feyd »

sherry wrote:1) I downloaded PHP 5.0 binary from the PHP website. It is a zipped file and does not contain any setup.exe or installer file. So how do I install it?
Read "install.txt"
sherry wrote:2) Can I replace JSP code with PHP?
For the most part, yes.
sherry wrote:3) PHP is considered best when used with MySQL. Why?
I wouldn't say best, nor worst. MySQL is the traditional, built-in library for database access so it's a natural choice for most applications to use. However all that changed with PHP 5. PHP 5 does not have MySQL built-in anymore. It is an extensions now.
sherry wrote:4) Can I use PHP with Weblogic 8.1? If not, what are the other possible web server alternatives?
Read through the install section of the manual: http://php.net/install
sherry wrote:5) Is IIS a mandatory web server required with PHP?
This will be answered by reading the manual.
sherry wrote:6) Does Windows XP have IIS built in or do I have to install it separately?
XP Pro can, via the install CD, add IIS to the machine. Although you can run and write the bulk of PHP just fine with it, most servers in the real world are run with Apache.
bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Re: Help for newbie with PHP

Post by bdlang »

feyd wrote:
sherry wrote:6) Does Windows XP have IIS built in or do I have to install it separately?
XP Pro can, via the install CD, add IIS to the machine. Although you can run and write the bulk of PHP just fine with it, most servers in the real world are run with Apache.
Not to mention the fact that you can install PHP as a standalone without a HTTPD server and test, debug pretty much anything you want to do from the command prompt. The default windows 'php.exe' is CLI now.
Post Reply