{** SPAM **} Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.

{** SPAM **} Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.

am 29.04.2009 18:08:59 von Jacob Kruger

FWIW, while I'm using windows xp pro, I just use the WAMP package to run
php, mysql and apache on my machine:
http://www.wampserver.com/en/

All I've done extra is make it run using port 81 so I can also still run IIS
for asp.net stuff.

Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message -----
From: "James Crow"
To: "Katiyar (GMail)"
Cc:
Sent: Wednesday, April 29, 2009 1:37 PM
Subject: Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.


> Katiyar (GMail) wrote:
>> Hi List,
>>
>> I am new to PHP and as well as with MySQL,
>>
>> * I have installed PHP 5.28, on win 2K (with IIS) and it is
>> installed properly I suppose, as when I call phpinfo (), through
>> a script, it shows the PHP Information.
>> * then I installed MySQL 5.1.30, and through MySQL command prompt
>> I am able to do things (creating tables, making queries etc).
>> * Now I want to use MySQL with PHP, but seems that MySQLI is not
>> installed properly. as when I write a following script in a php
>> page I get the error, that 'MySQLi'* *is not installed properly,.
>>
>> * >> if ( $si )
>> {
>> echo ' MySQLi appears to be installed correctly ' ;
>> }
>> else
>> {
>> echo 'MySQLi does not appears to be installed. ' ;
>> }
>> ?>*
>> I understand that it is a configuration error somewhere, as I am new
>> here in this world I am unable to figure out what ?
>> I am attaching the php.ini for the reference.
>>
>> Praveen K.
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
>> Praveen Katiyar
>>
>> Site : http://praveenkatiyar.co.cc
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
>>
> I did not see an attached file, but the mysqli extension must be activated
> in the php.ini file. Search the file and see if you have a line like this:
> ;extension=php_mysqli.dll
>
> Note the ';' at the beginning. The semicolon makes the line a comment and
> php ignores it. You have to remove the comment to activate the extension.
> The other thing is the php_mysqli.dll file must be present in the
> extension directory for php. To find the extension directory search the
> php.ini file extension_dir. In my php.ini the line looks like this:
> extension_dir = "c:\php\ext". Make sure the php_mysqli.dll file is in the
> directory listed in extension_dir.
>
> Thanks,
> James
>
> --
> James Crow
> IT Manager
> ULTRATAN, Inc
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4043 (20090429) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4043 (20090429) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4043 (20090429) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to access MySQL through PHP in windows 2K.

am 29.04.2009 20:31:07 von phpWalter

web.walters-way.com

complete details on how to get a LAMP-like stack running on just about
nay windows platform.

Yes, there are windows INSTALLERs that will do the "work" for you, but
they don't help when something goes wrong.

If you want to learn this stuff, learn it from the ground up.

A great pilot knows his airplane, knows how and *why* it works the way
it does.

A great developer should know how and why Apache & PHP & mySQL work
together and and to correct issues as they arise. It's more than just
installing an "app".

Good luck.

Walter--
....that's the thing about people who think they hate computers.
What they really hate is lousy programmers.
- Larry Niven and Jerry Pournelle in "Oath of Fealty"


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to access MySQL through PHP in windows 2K.

am 02.05.2009 16:24:45 von Keisial

Jacob Kruger wrote:
> FWIW, while I'm using windows xp pro, I just use the WAMP package to run
> php, mysql and apache on my machine:
> http://www.wampserver.com/en/
>
> All I've done extra is make it run using port 81 so I can also still
> run IIS
> for asp.net stuff.
>
> Stay well
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...fate had broken his body, but not his spirit...'

"Installation on Windows Systems: (...) Once PHP has been installed,
some configuration is required to enable /mysqli/ and specify the client
library you want it to use.

As mentioned earlier, the /mysqli/ extension is not enabled by default,
so the php_mysqli.dll DLL must be enabled inside of php.ini. In order to
do this you need to find the php.ini file (typically located in c:\php),
and make sure you remove the comment (semi-colon) from the start of the
line /extension=php_mysqli.dll/, in the section marked [PHP_MYSQLI]." --
http://php.net/manual/en/mysqli.installation.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php