SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Testing PHP code locally ...

    I am building a website that uses some PHP. My webhost has PHP 4 compatability. I need to test my entire site locally however, so how do I set up my Windows 2000 pc so that it will treat all my files exactly the same as they will be treated when live on the internet on my host's server.

    I think what I need is here - http://www.php.net/downloads.php - but can anyone confirm exactly which download from that page I need and what to do with it (if anything other than just double-clicking the download)

    Sorry, I am an amatuer at back-end stuff so imagine you are talking to a complete novice.

    Any help is seriously appreciated.

    Thanks,
    Stephen.

  2. #2
    SitePoint Guru
    Join Date
    Jul 2004
    Location
    Raleigh, NC
    Posts
    783
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this should walk you through your first time very easily. it sets up apache + php + mysql on winxp in the example but it's the same on win2000: http://internetmaster.com/installtutorial/

  3. #3
    SitePoint Enthusiast 2slick's Avatar
    Join Date
    May 2004
    Location
    Philippines
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Darchangel
    this should walk you through your first time very easily. it sets up apache + php + mysql on winxp in the example but it's the same on win2000: http://internetmaster.com/installtutorial/

    A very good link, you can also use MySQLCC a GUI Administration client for the MySQL database server.

    http://www.mysql.com/products/mysqlcc/

  4. #4
    SitePoint Guru
    Join Date
    Jul 2004
    Location
    Raleigh, NC
    Posts
    783
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by 2slick
    A very good link, you can also use MySQLCC a GUI Administration client for the MySQL database server.

    http://www.mysql.com/products/mysqlcc/
    i tried mysqlcc for a bit and didn't care for it. my friend loves it though. i much prefer phpmyadmin
    http://www.phpmyadmin.net

  5. #5
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Darchangel
    this should walk you through your first time very easily. it sets up apache + php + mysql on winxp in the example but it's the same on win2000: http://internetmaster.com/installtutorial/
    Thanks Darchangel, I will do this now

  6. #6
    SitePoint Guru
    Join Date
    Jul 2004
    Location
    Raleigh, NC
    Posts
    783
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rapidex
    Thanks Darchangel, I will do this now
    no problem. note though that this installation sets up php as a sapi NOT cgi. there are very minute differences in the way php handles these things sometimes. if you ever wonder if a function acts differently in sapi, check the function's documentation on php.net. they're very good about mentioning these differences explicitly


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
  •