Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configuring php and mysql

Status
Not open for further replies.

awolff01

Programmer
Jun 17, 2003
55
0
0
US
This is more of a configuration question than programming.

PHP was pre-installed on my system with support for mysql. But I installed a new version of mysql (into a different directory, etc). What do I need to do to get php to work with the new version of mysql rather then the old?

Please dont tell me this is a compile time option?

I am hoping I can screw around with the php.ini file to tell it where to look for mysql but I did not see anything that looked like that.

When looking at the "php -i" data looks like there are 3 critical lines referring to mysql the location of the mysql.sock and reference to some libraries.

Any suggestions?


Thanks.
 
The trouble with upgrading MySQL is that newer versions of MySQL use a different communications library than the older versions. This is why MySQL libraries are not longer bundled with PHP.

From what version to what version did you upgrade MySQL?

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top