Re: newbie: configuration of MySQL in PHP5 (Windows XP)

Re: newbie: configuration of MySQL in PHP5 (Windows XP)

am 07.04.2008 05:28:17 von AnrDaemon

Greetings, Andrzej Magdziarz.
In reply to Your message dated Saturday, March 15, 2008, 19:16:11,

> I have installed and configured Apache, PHP5 and MySQL in Windows XP. I need
> to configure PHP to use MySQL. So far I added to php.ini:

> extension_dir = "c:\windows;c:\Program Files\php\ext"
> extension=php_mysql.dll
> extension=php_mysqli.dll

> but it's not enough (I suspect) because when I open phpinfo.php I see no
> information about MySQL.
> What else I should do? Please help.

Not "else", but if You're using PHP as an Apache module, You can preload
required libraries using LoadFile directive in Apache configuration.
And make sure You're using right library, in case of
http://bugs.php.net/bug.php?id=41350


--
Sincerely Yours, AnrDaemon

Re: newbie: configuration of MySQL in PHP5 (Windows XP)

am 07.04.2008 15:03:35 von Jerry Stuckle

AnrDaemon wrote:
> Greetings, Andrzej Magdziarz.
> In reply to Your message dated Saturday, March 15, 2008, 19:16:11,
>
>> I have installed and configured Apache, PHP5 and MySQL in Windows XP. I need
>> to configure PHP to use MySQL. So far I added to php.ini:
>
>> extension_dir = "c:\windows;c:\Program Files\php\ext"
>> extension=php_mysql.dll
>> extension=php_mysqli.dll
>
>> but it's not enough (I suspect) because when I open phpinfo.php I see no
>> information about MySQL.
>> What else I should do? Please help.
>
> Not "else", but if You're using PHP as an Apache module, You can preload
> required libraries using LoadFile directive in Apache configuration.
> And make sure You're using right library, in case of
> http://bugs.php.net/bug.php?id=41350
>
>

There is no need to preload the MySQL library. And even if he did, it
would not solve this problem.



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================