Re: problem using mysql_connect function under windows XP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nothing about MySQL...only what is in my path variable :-(
1. i stopped apache server
2. i uncomment --> extension=php_mysql.dll and extension=php_mysqli.dll in
my php.ini file
3. i updated my extension_dir like that --> extension_dir =
"F:\WebServer\PHP511\ext"
4. i restarted apache
5. phpinfo still provide no info regarding MySQL

what should i do ?


On 4/5/06, Brad Bonkoski <bbonkoski@xxxxxxxxxxxxxx> wrote:
>
> Create a page like this:
> <?php
>     phpinfo();
> ?>
>
> and see what the output tells you about mysql...might shed some light on
> it.
> -B
>
> Alain Roger wrote:
>
> >i've seen that non of extension are activated...neither mysql.dll nor
> >mysqli.dll
> >
> >after uncommenting them and restarting Apache, it still does not work :-(
> >
> >On 4/5/06, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:
> >
> >
> >>Alain Roger wrote:
> >>
> >>
> >>>Hi,
> >>>
> >>>i wrote a simple testing page. it should test if it can connect to
> MySQL
> >>>
> >>>
> >>db.
> >>
> >>
> >>>however, i have an error message as followed :
> >>>*Fatal error*: Call to undefined function mysql_connect() in *F:\Mes
> >>>documents\Development\Website\Immense\checklogin.php* on line *23
> >>>
> >>>*on line 23, i have the following thing :
> >>>
> >>>mysql_connect("$host", "$username", "$password") or die("cannot
> >>>
> >>>
> >>connect");
> >>
> >>
> >>>where is the problem ?
> >>>
> >>>
> >>line 23.
> >>
> >>you don't have the mysql extension installed/loaded.
> >>maybe your php build has the mysqli extension?
> >>
> >>
> >>
> >>
> >>>thansk a lot,
> >>>
> >>>Alain
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux