PHP+MySQL installation: I am stuck here...

Discussion in 'PHP' started by AHA7, May 21, 2007.

  1. #1
    Hello,

    I am trying to run MySQL with PHP on my PC (Win XP with Apache server and PHPMyAdmin) and I am stuck at this point:

    I've learned that I'd need a PHP-MySQL package so I got this which can be downloaded from here (or you can see it on #1 on this page).

    But the problem now is: what do I do with that php-mysql-5.0.5-2.2.i386.rpm file? How and where do I run it, or how do I install it?
     
    AHA7, May 21, 2007 IP
  2. Free Directory

    Free Directory Peon

    Messages:
    89
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi, i suggest you to use the WAMP server, not LAMP (linux).
    rpm it's for linux machine.
    And you want to install it on the windows.
    You can use a bundle WAMP (windows, apache, mysql and php) from here: http://www.wampserver.com/en/ or download PHP from php.net, then mysql, then configure the apache to use it.
    I suggest the previous link. Will solve your problems. and... the good part it's that you can enable disable on the fly, every setting/ extension of php you need.
    I'll heartily recommend it to you (using at home and it's perfect) :)
     
    Free Directory, May 21, 2007 IP
  3. AHA7

    AHA7 Peon

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    OK, I am just a few minutes away from uninstalling all what I've spent all the day installing and go with that link everyone keep giving me whenever I ask about something that has to do with PHP/MySQL installation :D

    But I guess I've found something that may be the source of the problem:
    When I display PHP configuration using phpinfo() it shows:

    Configuration File (php.ini) Path C:\WINDOWS

    Bu my php.ini file is in C:\web\PHP
    How do I change that?
     
    AHA7, May 21, 2007 IP
  4. Free Directory

    Free Directory Peon

    Messages:
    89
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you're using php5, the apache must point the php folder. That's a new (kinda new:p) way of enabling multiple configurations on the same server from php and apache, as php4 constrains c:\windows\php.ini.
    Just change in your apache conf page the location for that php.ini, to point in the proper location.
    Good luck:)
    (Had such problems also, but then i choosed the easy way;) )
     
    Free Directory, May 21, 2007 IP
  5. AHA7

    AHA7 Peon

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for your help, Free Directory!

    It seems like problems never end and whenever I solve one problem the other, waiting one jumps up and so on...

    Anyway, I've had it! I don't want to spend the rest of my life solving Apache/PHP/MySQL/PHPMyAdmin/Windows installation problems and issues. :D

    I just wanted to do it myself and learn. I gave that up.

    I've got WAMP5 and in a few seconds all services are running smoothly, at least until this moment. I hope nothing else pops up.
     
    AHA7, May 21, 2007 IP
  6. Free Directory

    Free Directory Peon

    Messages:
    89
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it's simple: if your web script require something, your systray (click on the wamp icon) will help you to finish it asap:)
    Glad to hear that my suggestions aided you;)
     
    Free Directory, May 21, 2007 IP
    AHA7 likes this.
  7. erotomania

    erotomania Banned

    Messages:
    291
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Why don't you use wamp5 or xamp for windows
     
    erotomania, May 22, 2007 IP
  8. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #8
    You can find ready made server kits here. All will run on windows. I love XAMPP

    These packs comes with

    - PHP 5
    - Apache 2
    - MySQL server
    - phpMyAdmin
    - Mercury Mail Server

    ALL IN ONE. You dont to configure just run setup.
     
    olddocks, May 22, 2007 IP