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 8 of 8

Thread: PHP Beginner

  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Beginner

    Hola folks,

    I am a new to PHP and have to do a module on PHP for my course
    at Uni.
    I am trying to get PHP set up and running on my system at home, to learn the basics but failing miserably.
    I am running windows 7 and trying to use Dreamweaver, as that
    is the software used at the Uni.

    Any help would be most appreciated

    Thanks

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,387
    Thanks
    8
    Thanked 1,077 Times in 1,068 Posts
    You need to be running your own server: http://www.wampserver.com/en/

    It's free and fairly easy to use. Lots of documentation (and help on this forum).

  • #3
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim View Post
    You need to be running your own server: http://www.wampserver.com/en/

    It's free and fairly easy to use. Lots of documentation (and help on this forum).
    Thanks for your reply.

    I have being trying to install and run that for the best part of 2 hours,
    but with no joy as yet.
    I shall keep trying

  • #4
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Also another point, I have installed wampserver,
    but went run http://localhost/ ,IIS7 appears, which
    I have disabled, but with no joy again.

  • #5
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    That'll probably be why you can't get the wamp installed (or probably just running since they would both attempt to secure port 80).
    Did you disable the world wide publishing service completely? Also, in case you are not aware you can configure PHP to run in IIS as well, although I have never used IIS with PHP (and probably never will).
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #6
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,091
    Thanks
    51
    Thanked 506 Times in 493 Posts
    Quote Originally Posted by jammyb View Post
    I am running windows 7
    Win7 by default doesn't allow some wamp packages to run due to a system permission issue which didn't exist in XP.

    What you have to do is this:
    Right click on each programs .exe file (apache.exe, mysql.exe and php.exe), click properties then the compatibility tab. Now at the bottom, click "Change settings for all users". At the bottom of the next window you must check "Run this program as an administrator". Ok your way out of that and then re-try to run it again (also be sure to be rid of IIS).

    FYI there is also the uniformserver - another wamp setup which I personally found to be better than xamp because it takes less disk space and still has most of the functionality.
    My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!

  • #7
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    IIS commandeers port 80 which is the default port for WAMP. I found it best just to let IIS have its way and change the port for WAMP: I use 81.

    This video may be useful - telling you how to change it -but I haven't watched it myself.

    Once you've change the port you would then use:

    http://localhost:81/

    to preview your web site (having first started the wamp server).
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #8
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by AndrewGSW View Post
    IIS commandeers port 80 which is the default port for WAMP. I found it best just to let IIS have its way and change the port for WAMP: I use 81.

    This video may be useful - telling you how to change it -but I haven't watched it myself.

    Once you've change the port you would then use:

    http://localhost:81/

    to preview your web site (having first started the wamp server).
    Thank you all for you responses, I have now resolved my issue.

    The video has sorted out my problem.


  •  

    Posting Permissions

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