From: "sueandant" on
Is it possible that the problem is caused by my using the thread safe version of the PHP download binaries?
From: "sueandant" on
Hi Steve

I've uninstalled PHP5.3.3 and re-installed PHP5.2.14. Everything now
works!

Best wishes and thanks to everyone for their help and input.

tholland
----- Original Message -----
From: "Steve Staples" <sstaples(a)mnsi.net>
To: "sueandant" <hollandsathome(a)tiscali.co.uk>
Cc: "PHP" <php-general(a)lists.php.net>
Sent: Wednesday, October 06, 2010 9:09 PM
Subject: Re: [PHP] Class mysqli not found


> On Wed, 2010-10-06 at 21:00 +0100, sueandant wrote:
>> I'm still fighting a losing battle in my attempts to get PHP speak to
>> mysqli. I can access MySql via the prompt. Apache and PHP are installed
>> and working. In Apache's config file PHPIniDir is set to "C:\php",
>> which is where I unzipped the binary download files, and set LoadModule
>> php5_module C:\php\php5apache2_2.dll. In php.ini I have uncommented the
>> mysql.dll and mysqli.dll extensions and set extension_dir =
>> "C:\php\ext\". I have edited the environment variables to include
>> C:\php and C:php\ext.
>>
>> I am running Vista Home Premium 32 bit with SP2, Apache 2.2, PHP 5.3.3
>> and MySql Server 5.1.
>>
>> What have I missed?
>
> How are you connecting to the mysql? What does your connection string
> look like from your php file? Can you cut and paste it here for us to
> trouble shoot (if it is the apache->php->mysql connection problem)
>
>
> Steve
>