PHP - MSSQL -5.2.2?

PHP - MSSQL -5.2.2?

am 08.05.2007 08:33:00 von Gustav Wiberg

Hi there again!

MSSQL and PHP. Should I upgrade from PHP 5.0.1 to 5.2.2 for getting the con=
nection to MSSQL-database to work correctly?

Best regards
/Gustav Wiberg

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

Re:PHP - MSSQL -5.2.2?

am 09.05.2007 08:27:28 von Chetan Graham

Gustav Wiberg says:

>MSSQL and PHP. Should I upgrade from PHP 5.0.1 to 5.2.2 for getting the
>connection to MSSQL-database to work correctly?

>Best regards
>/Gustav Wiberg

Yesterday, I decided to update PHP521 to 522 and update the MySQL
server/client to the latest as I was having strange connection problems.

In the end the decision turned out to be just right.
It took me several tries to delete the existing copy of MySQL in order to
do a clean install.
However, I now know what one has to do to remove the 'root' of MySQL
program from Windows2000, he, he.

PHP installs just fine with out doing a clean install. Just install right
into the PHP directory. I had to fix the confused php.ini from the
install, (numerous extensions where copied right on top of the others so I
had double of the same extension many times. Path statements where placed
in strange places as well.
This was a small adjustment as anyone using PHP in time gets to know the
..ini file very well.

Hope this helps,
Blessings,
Chetan

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

RE: Re:PHP - MSSQL -5.2.2?

am 09.05.2007 09:23:54 von Chetan Graham

>Gustav says:

>Anyone experienced trouble connecting to a MSSQL - Server but not every
>time? (About every third time the connection succeeds, fourth time,
fitfh >time and so on ...)(IIS + PHP + Win2003 Server)


>Best regards
>/Gustav Wiberg


Gustav says:
>
> Thanx all!
>
> The problem is solved. The MSI Windows installer added an extra \ to the
> path!? ...
>
> /Gustav
>
> Gustav Wiberg says:
>
>>MSSQL and PHP. Should I upgrade from PHP 5.0.1 to 5.2.2 for getting the
>>connection to MSSQL-database to work correctly?
>
>>Best regards
>>/Gustav Wiberg


Chetan says:
> Yesterday, I decided to update PHP521 to 522 and update the MySQL
> server/client to the latest as I was having strange connection problems.
>
> In the end the decision turned out to be just right.
> It took me several tries to delete the existing copy of MySQL in order to
> do a clean install.
> However, I now know what one has to do to remove the 'root' of MySQL
> program from Windows2000, he, he.
>
> PHP installs just fine with out doing a clean install. Just install right
> into the PHP directory. I had to fix the confused php.ini from the
> install, (numerous extensions where copied right on top of the others so I
> had double of the same extension many times. Path statements where placed
> in strange places as well.
> This was a small adjustment as anyone using PHP in time gets to know the
> .ini file very well.
>
> Hope this helps,
> Blessings,
> Chetan
>

One other note about inconsistensy in connection to DB, in the above
upgrading with both PHP and MySQL I also dnloaded the latest ODBC
connector and then dnloaded the latest "MySQL ODBC 3.51 driver" and my
connections are consistent now. I also checked the TCP/IP & MySQL
services on IIS.

The Wininstaller for PHP522 misstyped the c:\\php\ext;;" in my environment
variables path statement.
One does in time learn every place the PHP/SQL installation is connecting
and talking, and may check and make fixes.
Too bad it takes much time spent in pain and frustration to get there.
And I am still a baby in this big wide world of the Web and applications.

Blessings,
Chetan

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

RE: Re:PHP - MSSQL -5.2.2?

am 09.05.2007 09:37:00 von Gustav Wiberg

Hi there!

Thanx all!

The problem is solved. The MSI Windows installer added an extra \ to the pa=
th!? ...

/Gustav
=20

-----Original Message-----
From: Chetan Graham [mailto:chetan_graham@amritatech.com]=20
Sent: Wednesday, May 09, 2007 8:27 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Re:PHP - MSSQL -5.2.2?

Gustav Wiberg says:

>MSSQL and PHP. Should I upgrade from PHP 5.0.1 to 5.2.2 for getting the
>connection to MSSQL-database to work correctly?

>Best regards
>/Gustav Wiberg

Yesterday, I decided to update PHP521 to 522 and update the MySQL
server/client to the latest as I was having strange connection problems.

In the end the decision turned out to be just right.
It took me several tries to delete the existing copy of MySQL in order to
do a clean install.
However, I now know what one has to do to remove the 'root' of MySQL
program from Windows2000, he, he.

PHP installs just fine with out doing a clean install. Just install right
into the PHP directory. I had to fix the confused php.ini from the
install, (numerous extensions where copied right on top of the others so I
had double of the same extension many times. Path statements where placed
in strange places as well.
This was a small adjustment as anyone using PHP in time gets to know the
..ini file very well.

Hope this helps,
Blessings,
Chetan

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

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