RE: [PHP-WIN] Cannot load mysqli extension error or login prompt
| From: | Mike | Date: | Sat, 27 Nov 2004 13:09:39 +0000 |
| Subject: | RE: [PHP-WIN] Cannot load mysqli extension error or login prompt | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25052@lists.php.net to get a copy of this message | ||
Having your extensions dir in your path is less important than having your
php.ini file set up properly.
Take a look for this section:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\php\extensions"
This happens to be where my extensions are kept on my machine... and that
dir isn't in the PATH. I don't even having C:\php in my PATH and I can run
scripts and phpMyAdmin just fine.
I'm not sure about question #2 - I just set up phpMyAdmin step-by-step and
it worked fine. It's just been a long time since I set it up.
-M
> -----Original Message-----
> From: kutuu [mailto:kutuu@hotpop.com]
> Sent: Saturday, November 27, 2004 2:47 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Cannot load mysqli extension error or login prompt
>
>
> Hello everybody,
>
> Question1.
>
> I have my "c:/program files/php/extensions/" directory in my path.
> And the required php_mysqli.dll & libmysqli.dll files in it.
>
> But I cant get phpmyadmin to load properly.
>
> It gives me this error:
>
> cannot load mysqli extension,
> please check PHP Configuration
> Documentation
>
> -----
>
> Question2.
>
> If I revert to the regular libmysql.dll & php_mysql.dll files
> then I keep getting my login prompt over & over again.
>
> I have read that I need to set some control user but how am I
> going to do that since I cant use phpmyadmin to do it?
>
> Anyone who knows what I am talking about please help me as I
> have been working on this problem for some time now and It
> simply does not work.
>
> Gün.
>
> The following code does not work too.. It only says "sarting
> test". Root has password pass
>
> <?
> echo "starting test";
> $mySQL = @mysql_connect("127.0.0.1", "root", "pass") or
> exit(); echo "point2"; ?>
>
> --
> PHP Windows Mailing List (http://www.php.net/) To
> unsubscribe, visit: http://www.php.net/unsub.php
>