YB
BannerBanner

One for the computer boffins - apologies for my lack of accurate words to describe

Author
paulthebuilder
Pro-Member
  • Total Posts : 27813
  • Reward points: 9300
  • Joined: 2006/05/06 22:39:09
  • Status: offline
2009/08/01 17:52:08 (permalink)
0

One for the computer boffins - apologies for my lack of accurate words to describe

The missus has downloaded apache/mysql/php thing and can't get it to run in Vista as the ports are already occupied.

Note to self - what does that all mean?

The online forums seem to address mainly XP.

She said something about 2 ports being occupied by default that the program needs.

Question is: how to change the port routes or whatever the correct terminology is without crashing everything and having a computer that thinks it's a beaver's bicycle?

Thankyou in advance from Wrongy.
#1

16 Replies Related Threads

    westie
    Pro-Member
    • Total Posts : 1030
    • Reward points: 12360
    • Joined: 2003/05/08 13:46:04
    • Location: London United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 18:07:53 (permalink)
    0
    It means a program is allready running that is using the ports. When you install the program it will tell you what ports it needs to use.
    run netstat -a from the command prompt to see what is using the ports.
    #2
    JK2
    Pro-Member
    • Total Posts : 14594
    • Reward points: 4963
    • Joined: 2003/07/14 15:07:10
    • Location: London United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 18:53:59 (permalink)
    0
    I do know the answer to this.

    But I'm afraid I can only express it in binary.

    0101011101011010010101010101010001010101010111011101010101010101011
    1010100101010010101011110101010101011010101110101001000101010101011
    1010101010101010100100010001010011000010100101010010101010101010100
    0001010101010100110101010111101010001010010100110111010010101010100

    Hope that helps.

    #3
    Dan Nukem
    Pro-Member
    • Total Posts : 14953
    • Reward points: 9229
    • Joined: 2002/09/21 02:08:49
    • Location: Republic of Ireland
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:05:24 (permalink)
    0
    rightyho

    The missus has downloaded apache/mysql/php thing and can't get it to run in Vista as the ports are already occupied.

    Note to self - what does that all mean?

    The online forums seem to address mainly XP.

    She said something about 2 ports being occupied by default that the program needs.

    Question is: how to change the port routes or whatever the correct terminology is without crashing everything and having a computer that thinks it's a beaver's bicycle?

    Thankyou in advance from Wrongy.


    The easiest & temporary way to get around this.
    Restart the computer, when vista has finished loading, close all running programs which are not essential to the system e.g. skype, gmail etc.

    That should unblock the ports.

    There is a better way to do this, but its a bit more complicated, just give the above a try first.
    #4
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:09:22 (permalink)
    0
    It's whatever occupies port 80 by default is the problem.
    #5
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:19:16 (permalink)
    0
    Cool, right, thanks Dan.
    Apache is now installed and she's got to the "It Works" message at localhost.

    Now she's asking how to instal php as it's not immediately obvious apparently.

    I have no clue what she is talking about.

    Any ideas?
    #6
    albino
    Pro-Member
    • Total Posts : 1054
    • Reward points: 12498
    • Joined: 2002/01/01 12:52:37
    • Location: United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:19:53 (permalink)
    0
    Well that will be a webserver.  I guess she's already got IIS running?

    Although apache php and mysql all run on windows in the real world(tm)  most hosting providers are going to be providing them on a unix like system, probably linux.  If she wants to learn to use them she would be better getting a linux box or some kind of virtual server.  There even be some kind soul out there who could provide her with an account on such a system foc ;)



    PM enabled.
    #7
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:22:19 (permalink)
    0
    ^ What language was that in mate? Lol. I'm totally lost in my own thread now.
    Linux is that other operating system that's more stable than Windows, right?

    For now, she wants to instal php on windows and go from there.

    No point me arguing with her.
    I will lose. Lol.
    #8
    albino
    Pro-Member
    • Total Posts : 1054
    • Reward points: 12498
    • Joined: 2002/01/01 12:52:37
    • Location: United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:26:18 (permalink)
    0

    Yes Linux is an operating system.  Like i said apache/php/mysql have all been ported to windows but if you are going to work with them in a commercial way you'll want to use them under Linux.

    Anyway:

    http://www.devarticles....lling-PHP-under-Windows/

    PM enabled.
    #9
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:29:49 (permalink)
    0
    Thanks albino. Great help mate. She's now yelling at me cos I don't have Skype and she has to wait 7 seconds while I email the link to her in the next bedroom. LMAO.
    #10
    albino
    Pro-Member
    • Total Posts : 1054
    • Reward points: 12498
    • Joined: 2002/01/01 12:52:37
    • Location: United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:30:37 (permalink)
    0

    good luck !!

    PM enabled.
    #11
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 19:32:00 (permalink)
    0
    westie

    It means a program is allready running that is using the ports. When you install the program it will tell you what ports it needs to use.
    run netstat -a from the command prompt to see what is using the ports.


    did that mate - it was great fun watching all these little values appear but have no clue what they mean. Lol.
    #12
    40 plus
    Pro-Member
    • Total Posts : 5209
    • Reward points: 7740
    • Joined: 2007/07/02 13:29:20
    • Location: Derby, England
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 21:25:09 (permalink)
    0
    JohnKerr2

    I do know the answer to this.

    But I'm afraid I can only express it in binary.

    0101011101011010010101010101010001010101010111011101010101010101011
    1010100101010010101011110101010101011010101110101001000101010101011
    1010101010101010100100010001010011000010100101010010101010101010100
    0001010101010100110101010111101010001010010100110111010010101010100

    Hope that helps.


    Dirty bastard!
     
    #13
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 22:46:40 (permalink)
    0
    Hi guys, right, this php thing is installed and apparently working except for when going to the localhost and trying to retrieve php info, it shows only code and not the blue panel.

    Any ideas? I'm relaying this as a third party.

    Thanks.
    #14
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/01 22:59:03 (permalink)
    0
    Should get:


    But get:

    #15
    albino
    Pro-Member
    • Total Posts : 1054
    • Reward points: 12498
    • Joined: 2002/01/01 12:52:37
    • Location: United Kingdom
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/02 05:09:43 (permalink)
    0
    remove //index.php
    // denotes the beginning of a comment in the code....

    <?php
    phpinfo ();
    ?>

    If it is still displaying the code it suggests you don't have the Addtype configured in your apache config. 




    PM enabled.
    #16
    paulthebuilder
    Pro-Member
    • Total Posts : 27813
    • Reward points: 9300
    • Joined: 2006/05/06 22:39:09
    • Status: offline
    Re:One for the computer boffins - apologies for my lack of accurate words to describe 2009/08/02 13:39:57 (permalink)
    0
    It's working now mate. Thanks very much.
    #17
    Jump to:
    ©2018 All content is copyright of MuscleTalk.co.uk and its use elsewhere is prohibited.
    (posting guidelines | privacy | advertise | earnings disclaimer | contact us | supported by)
    © 2018 APG vNext Commercial Version 5.5