SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to install PHP?

    I dont know how to install PHP.

    I have tried to install it from the PHP website, and i have saved the php-5.1.1-installer to my desktop. When i try to run the installation, it tells me that everything is working okay until i am instructed to chose a server. I select the Apache server (even though i have tried a couple of the different ones) and then when it is going to finish installing PHP it gives me an error message telling me that something is wrong with the server instalation??

    The next message that pops up tells me that i have successfully installed php.

    When i go into notepad and type (copy/pasted from a php tutorial):

    <html>
    <head></head>
    <body>

    Agent: So who do you think you are, anyhow?
    <br />

    <?php
    // print output
    echo 'Neo: I am Neo, but my people call me The One.';
    ?>

    </body>
    </html>

    The only thing that is registed when i open the document in explorer is the

    Agent: So who do you think you are, anyhow?

    part.


    Why is it that the php codes are not being registered, and how can i make them work.

    When i save the file as practice.php the icon on the file i saved is the php logo.

  2. #2
    From downunder but sure 2 rise Hazardous's Avatar
    Join Date
    Aug 2003
    Location
    New Zealand
    Posts
    361
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it possible that you might need to install some extensions....it's been a while since I set php up from scratch but I think it might be the reason why it's not working
    Hazardous
    My Blog

  3. #3
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i do that?
    what are extensions?

    do you have any links that i can go to to download what i need?

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    I recommend you to download a complete php server environment setup file. It will install php, mysql, phpmyadmin in one time setup, appserv is good.
    download here http://www.phpeasystep.com/downloads.php


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •