How to Install PHP with all extensions on a pc??

Discussion in 'PHP' started by mavmaverick, Mar 30, 2013.

  1. #1
    I want to install php with all the extensions (like that which are provided by web hosting companies) on my pc because when i first created a forum in php it didn't work (I'm using WAMP server) but when i uploaded it on my web hosting provider's site, it just worked well. Please Help!!!!
     
    mavmaverick, Mar 30, 2013 IP
  2. IGarret

    IGarret Active Member

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    3
    Trophy Points:
    51
    #2
    Maybe it's not problem with extensions? What you mean "didn't work"?
     
    IGarret, Mar 31, 2013 IP
  3. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #3
    Left click pm on the wamp icon in the tray. Highlight over PHP and then in the menu click php.ini once you have loaded up the txt file have a read through it and uncomment any extensions that you want to use.

    Make sure you restart the server after your complete.
     
    HuggyStudios, Mar 31, 2013 IP
  4. Alex210

    Alex210 Well-Known Member

    Messages:
    214
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    150
    #4
    Use xampp . It has everything you need to run a php script on your PC.
     
    Alex210, Mar 31, 2013 IP
  5. mavmaverick

    mavmaverick Active Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #5
    It Show an error in finding the extension, should i download it and then copy it in the php's extension folder??
     
    mavmaverick, Apr 1, 2013 IP
  6. mavmaverick

    mavmaverick Active Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #6
    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\comment\index.php on line 17

    This error has occured. It worked just fine on my webhosting server
     
    mavmaverick, Apr 1, 2013 IP
  7. mavmaverick

    mavmaverick Active Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #7
    Tried but not working.
     
    mavmaverick, Apr 1, 2013 IP
  8. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #8

    Which extension are you having problems with? I know that CURL has some issues and I needed to download a fix for it.
     
    HuggyStudios, Apr 1, 2013 IP
  9. gandalf117

    gandalf117 Active Member

    Messages:
    111
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #9

    I don't think you have tried hard enough. I think that most likely you have problems with the setup and configuration. XAMPP is even easier to install than WAMP. You should include the specific errors that show up.
     
    gandalf117, Apr 1, 2013 IP
  10. annaharris

    annaharris Active Member

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    51
    #10
    Check out the link which I have mentioned below and it will guide you step-by-step on how to install php with all the necessary extensions.
    http://www.php.net/manual/en/install.php
     
    annaharris, Apr 1, 2013 IP
  11. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #11
    Here you can see the guideline of the php installation as you will need here. www.w3schools.com/php/php_install.asp
     
    creativewebmaster, Apr 1, 2013 IP