MySQL Forums
Forum List  »  PHP

Re: help on connection
Posted by: Jonathan Stephens
Date: June 12, 2005 07:42PM

Good call, Peter. In fact, on my Windows Apache server, I had to put

SetEnv PHPRC c:/php/

in the httpd.conf file before it would read php.ini even though it's in C:\php.

BTW, the mysqli extension needs libmysql.dll. There was a separate libmysqli.dll in early PHP 5.0.x versions, but now (at least PHP 5.0.3 and higher, not sure when they made the change, it could have been earlier than 5.0.3) you can run both mysql and mysqli using a single libmysql.dll. I only just noticed this myself a few days ago.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
June 07, 2005 08:56AM
June 12, 2005 12:25PM
Re: help on connection
June 12, 2005 07:42PM


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.