php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16889 Problem connecting to mySQL
Submitted: 2002-04-28 16:38 UTC Modified: 2002-04-28 16:40 UTC
From: oystein at netlife dot no Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.2.0 OS: RedHat 7.1 (2.2.19)
Private report: No CVE-ID: None
 [2002-04-28 16:38 UTC] oystein at netlife dot no
Hello

I was going to install/add imap support for php and found out that i could upgrade to the newest version (4.2.0). When i installed, and went to one of the old pages that used mySQL it couln't connect (Can't connect error). As i am in a hurry (Have to get it back up) i used phpinfo() and compiled php with same parameters with php4.1.2 and mysql worked.

Im sorry that i can't help more with this bug, and maybe it's my own fault but as far as i can see, it worked with php4.1.2, i installed php4.2 and it stopped working, installed php4.1.2 again and it was up again.. (Beats me why :)

?ystein

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-28 16:40 UTC] derick@php.net
Already fixed in CVS. You can fix it yourself by :
1. making sure you have autoconf 2.13 installed (autoconf --version tells you)
2. cd /path/to/phpsource
3. rm configure config.cache
4 ./buildoncf

and the reconfigure

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 00:01:32 2025 UTC