Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Help with PHP

  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with PHP

    Hi all have got WAMP5 also got PHP script how do i get the script to load like a web site on WAMP so i can edit the site? Have put files in htdocs but its still code.
    Any help would be appreceated

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    I'm pretty sure you have to install PHP.

  • #3
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts
    I recommend XAMPP from: http://www.apachefriends.org/en/xampp-windows.html Everything is taken care of for you during installation.
    Leonard Whistler

  • #4
    Regular Coder meth's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Thanks
    0
    Thanked 9 Times in 9 Posts
    Read the WAMP documentation. You have to start apache using the WAMP start menu item or system tray icon before it will start serving pages.

    You may also want to consider that WAMP5 is beta. A previous, stable version is what you may want to try first.
    Last edited by meth; 08-14-2007 at 01:41 AM. Reason: oops - not sure about apache + IUSR_[computername] permissions
    I do Web Design, Brisbane based.
    More time spent in PHP/MySQL Web Development.
    And Search Engine Optimisation takes up the rest of it.

  • #5
    New Coder
    Join Date
    Jun 2007
    Location
    Canada
    Posts
    49
    Thanks
    1
    Thanked 1 Time in 1 Post
    WAMP (from www.wampserver.com) comes with mySql and PHP and phpMyAdmin installed and ready to go. I use this on a development server at home.

    To create a site or use a PHP script you have to create a directory within the "www" folder. You can simply replace what is already in the www folder but a really DON'T recommend you do that. Then place your script inside the directory you just created. You then can view the site/script using "http://machineName/myNewSite" or you can use the existing menu page by typing "http://machineName" then clicking on the link to your newly created directory.
    Of all the things I've lost in my life time, my mind is the one I miss the most!


  •  

    Posting Permissions

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