Results 1 to 6 of 6

Thread: [RESOLVED] How do you configure php with mysql?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Resolved [RESOLVED] How do you configure php with mysql?

    I dont know how many websites I have checked nor do I know how many hours in total I wasted on this... very frustrating, I can never EVER get php and mysqo to work together.

    I am using apache 2.0, php5 and mysql5.

    For one there is no "extension=php_mysql.dll" in my php.ini (but I added it anyway), there is no "libmysql.dll" on my whole computer (much less php directory) so I downloaded it online and threw it in system32... both php and mysql is in my path...

    nothing works... they really dropped the ball on this, should of been a yes/no question and BANG it all works.
    Last edited by Zeratulsdomain; Jan 18th, 2008 at 11:31 AM.

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: How do you configure php with mysql?

    They didn't drop the ball. 9/10 people can get it working without issues, you seem to be an exception. Whether you're not understanding it, or there are issues with your computer, I'm not sure.


    Since you're having so much trouble I would recommend just trying to use WAMP to get the server up and running.

    It is an executable that will install apache, mysql and php on a windows machine.

    WAMP

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Re: How do you configure php with mysql?

    they did drop the ball. This is just stupid. This was my second attempt at doing this. A computer programmer having such a hard time doing something so simple is illogical.

    anyway, I just fixed it. Do you know what was the issue? They apparently omitted the required extensions in the windows .msi installation (or at least it was not selected as a default) I had to go back to there website and download the zip version and throw them in my php folder there.

    So not only did I have to go online to download a .dll file on a third party website, I also had to go online to a third party website find a specific line to add to my php.ini and I also had to go online to download extensions.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [RESOLVED] How do you configure php with mysql?

    Or you just get WAMP or XAMP and be done with it... one down load, unzip, BAM! You're running. Regarding missing items from the msi, when ever I have the choice of an installer vs a zip which I can xcopy... ALWAYS go with the zip... odds are it's more up to date.

    And who dropped the ball mySQL or php? And for "libmysql.dll" - I've *never* dumped any of mysql stuff into the system32 folder.... maybe that's where you went wrong with it...

    Aaaaanyways....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Re: [RESOLVED] How do you configure php with mysql?

    Quote Originally Posted by techgnome
    Or you just get WAMP or XAMP and be done with it... one down load, unzip, BAM! You're running. Regarding missing items from the msi, when ever I have the choice of an installer vs a zip which I can xcopy... ALWAYS go with the zip... odds are it's more up to date.

    And who dropped the ball mySQL or php? And for "libmysql.dll" - I've *never* dumped any of mysql stuff into the system32 folder.... maybe that's where you went wrong with it...

    Aaaaanyways....

    -tg
    well maybe I did not need to move that file, but it was from one tutorial (+ previous ones I remember trying when I first had failed this) so I did it. I also noticed after my last post here that the specific file was also missing from the MSI but in the zip.

    Also good question on who dropped the ball... I want to say php because I felt they were missing so much and all configuration needed to be done from there end (and it used to work auto with php4 apparently), but then again mysql could have designed it so it configured itself the same way php configures itself to which ever HTTP client you select.

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How do you configure php with mysql?

    Quote Originally Posted by Zeratulsdomain
    anyway, I just fixed it. Do you know what was the issue? They apparently omitted the required extensions in the windows .msi installation (or at least it was not selected as a default) I had to go back to there website and download the zip version and throw them in my php folder there.
    It is always recommended to download the zipped binaries for PHP. Have you read the two installation tutorials on this website? Both cover this.

Posting Permissions

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



Click Here to Expand Forum to Full Width