Where to download PHP ?

Posted on 2014-08-28
Last Modified: 2014-08-28
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.
Question by:amucinobluedot
    LVL 30

    Expert Comment

    Get PHP from the official website:

    It already comes with the Mail module (

    If you are using IIS (or a Windows Server), just download the Microsoft Web Platform Installer and install PHP with it ( It will configure your IIS to work with PHP as well.

    Author Comment

    I am using IIS ... would that also include the PHP mail ?
    LVL 30

    Accepted Solution

    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

    $Name = "Da Duder"; //senders name
    $email = ""; //senders e-mail adress
    $recipient = ""; //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


    Author Closing Comment

    Thank you !

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now