MySQL Forums
Forum List  »  PHP

Re: can't instal PHP+MySQL ..... please help
Posted by: Conrad Williams
Date: February 23, 2006 06:32AM

Following lifted from the php.ini file::

; In the case of MySQLi and LibMySQL, these are registered in the XP Registry and
; do not follow the extension_dir below.
extension_dir = "C:\PHP\ext\"

Obviously, there are several ways to "register" these two DLL's in the registry.
First way is to place them in "C:\windows\system32" directory. They should be found there.

Second way is to keep them in the "C:\PHP\ext\" directory, open a Command Prompt, and move to that directory. Then use "regsvr32 php_mysqli.dll" without quotes and register the files directly. Do same for LibMySQL.dll located in C:\PHP...

I prefer the second way, as I can "swap" the file around with upgrades, and know all php extensions are in the one place. There are security issues, so be aware...

Should then see mysqli in <?php phpinfo(); ?>

Options: ReplyQuote


Subject
Written By
Posted
Re: can't instal PHP+MySQL ..... please help
February 23, 2006 06:32AM


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.