Mungbeans Posted August 11, 2006 Share Posted August 11, 2006 I have just upgraded MySQL from 4.0 to 4.1 and moved the data onto another disk. It is running on its own without problems.I have also updated to PHP5 and it is also running on my Apache 2.2 server without problems.I cannot get MySQL to work with php5. I have followed all the instructions at php.net, eg updated the PATH, extension_dir and uncommented the mysql extension so it will load. I have checked and the dll is in the path specified. However attempts to connect to MySQL still fail without error. Is there is there an exhaustive checklist somewhere I could check, or could some kind soul walk me through it so I can locate what is going wrong.Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
fenway Posted August 11, 2006 Share Posted August 11, 2006 I don't know about a checklist, but don't you need the mysqli libraries for v5? Quote Link to comment Share on other sites More sharing options...
Mungbeans Posted August 12, 2006 Author Share Posted August 12, 2006 I don't know. I've never installed or used php5 before so I'm totally in the dark. I don't even know what the 'mysqli libraries' are. I'll have a google and see what I can find but I don't even know what the question is that I should be asking. :-\ Quote Link to comment Share on other sites More sharing options...
Mungbeans Posted August 12, 2006 Author Share Posted August 12, 2006 OK, found this:[url=http://www.devshed.com/c/a/MySQL/Performing-Basic-Tasks-with-MySQL-4-and-Above-using-mysqli-with-PHP-5/]http://www.devshed.com/c/a/MySQL/Performing-Basic-Tasks-with-MySQL-4-and-Above-using-mysqli-with-PHP-5/[/url]I'll let you know if it leads me anywhere. Quote Link to comment Share on other sites More sharing options...
Mungbeans Posted August 12, 2006 Author Share Posted August 12, 2006 Well, I found the answer here:[url=http://www.notestips.com/80256B3A007F2692/1/TAIO-64MEGD]http://www.notestips.com/80256B3A007F2692/1/TAIO-64MEGD[/url] It was nothing obvious. Once I'd moved the file libmysql.dll from the \php directory to \Apache2\bin - connectivity! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.