MySQL Forums
Forum List  »  PHP

Apache has to use the same libmysql.dll
Posted by: Rene Leonhardt
Date: November 30, 2008 02:06AM

From my experience this can be caused by different libmysql.dll versions used by PHP CLI and the one loaded by Apache.

The best thing is to use the version distributed by the PHP release you are using.
In order to make sure that Apache uses this version, too, remove any copies of libmysql.dll from the search path and copy the version from the PHP folder to the Apache\bin folder.

Afterwards you can control the result by comparing phpinfo() from CLI and Apache.



Edited 1 time(s). Last edit at 11/30/2008 02:07AM by Rene Leonhardt.

Options: ReplyQuote


Subject
Written By
Posted
Apache has to use the same libmysql.dll
November 30, 2008 02:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.