Where to download PHP ?

I am setting up a new server, just installed MySQL Database and now I need to intall PHP and PHP mail on that machine so that wordpress websites can send email and work fine.

Where can I download both ?  Some have multiple links so I need some guidance to make sure I do this right.
LVL 1
AleksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
Get PHP from the official website: http://php.net/downloads.php

It already comes with the Mail module (http://php.net/manual/en/book.mail.php).

If you are using IIS (or a Windows Server), just download the Microsoft Web Platform Installer and install PHP with it (http://www.microsoft.com/web/platform/phponwindows.aspx). It will configure your IIS to work with PHP as well.
0
AleksAuthor Commented:
I am using IIS ... would that also include the PHP mail ?
0
MlandaTCommented:
Yes. I would suggest that Web Platform Installer is the way to go.

And yes... to use PHP Mail... There is no installation needed to use these functions; they are part of the PHP core.

Use this PHP sample to test (from http://php.net/manual/en/book.mail.php):

<?php

$Name = "Da Duder"; //senders name
$email = "email@adress.com"; //senders e-mail adress
$recipient = "PersonWhoGetsIt@emailadress.com"; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "Subject for reviever"; //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields

mail($recipient, $subject, $mail_body, $header); //mail command :)
?>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
Thank you !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.