|
-
Jan 18th, 2008, 11:12 AM
#1
Thread Starter
Hyperactive Member
[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.
-
Jan 18th, 2008, 11:18 AM
#2
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
-
Jan 18th, 2008, 11:28 AM
#3
Thread Starter
Hyperactive Member
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.
-
Jan 18th, 2008, 12:11 PM
#4
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
-
Jan 18th, 2008, 01:16 PM
#5
Thread Starter
Hyperactive Member
Re: [RESOLVED] How do you configure php with mysql?
 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.
-
Jan 19th, 2008, 05:58 AM
#6
Re: How do you configure php with mysql?
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|