473,382 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

PHP with MS SQL on Windows Box

Hi everyone,
Sorry to bother you, have just spent the last few hours trying to solve
this. Have uncommented the line in php.ini, ensured the client tools are
installed. However when I try and view a PHP page now, the browser just
hangs indefinitely. If i take away the line in php.ini everything
returns to normal. Have heard I have to recompile with the freetds
library but am i not right in saying that is for unix/linux?

Thanks for ur help,
Kieran
Jul 17 '05 #1
3 1581
Hi Kieran!

On Mon, 16 Feb 2004 19:50:00 +0000, Kieran Benton
<ki**********@fastmail.fm> wrote:
Hi everyone,
Sorry to bother you, have just spent the last few hours trying to solve
this. Have uncommented the line in php.ini, ensured the client tools are
installed. However when I try and view a PHP page now, the browser just
hangs indefinitely. If i take away the line in php.ini everything
returns to normal. Have heard I have to recompile with the freetds
library but am i not right in saying that is for unix/linux?


I think you are right. Do you use a named based resolution to get to
your SQL server or an IP address? Can you do

ping nameofsqlserver

telnet nameofsqlserver 1433
telnet ipaddressofsql 1433

Is SQL server listening on named pipes or tcp. Must be tcp afaik.

HTH, Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2
Jochen,
Yes I can reach the database in this manner, TCP/IP is turned on and it
is used elsewhere on the network for ASP.NET and bespoke apps. Any more
suggestions?

Many thanks,
Kieran

Jochen Daum wrote:
Hi Kieran!

On Mon, 16 Feb 2004 19:50:00 +0000, Kieran Benton
<ki**********@fastmail.fm> wrote:

Hi everyone,
Sorry to bother you, have just spent the last few hours trying to solve
this. Have uncommented the line in php.ini, ensured the client tools are
installed. However when I try and view a PHP page now, the browser just
hangs indefinitely. If i take away the line in php.ini everything
returns to normal. Have heard I have to recompile with the freetds
library but am i not right in saying that is for unix/linux?

I think you are right. Do you use a named based resolution to get to
your SQL server or an IP address? Can you do

ping nameofsqlserver

telnet nameofsqlserver 1433
telnet ipaddressofsql 1433

Is SQL server listening on named pipes or tcp. Must be tcp afaik.

HTH, Jochen

Jul 17 '05 #3
Hi!

Jochen,
Yes I can reach the database in this manner, TCP/IP is turned on and it
is used elsewhere on the network for ASP.NET and bespoke apps. Any more
suggestions?

Maybe check for other php.ini's, if yours is used at all or maybe the
default settings are on and yoru webserver has been restarted.

HT, Jochen

Many thanks,
Kieran

Jochen Daum wrote:
Hi Kieran!

On Mon, 16 Feb 2004 19:50:00 +0000, Kieran Benton
<ki**********@fastmail.fm> wrote:

Hi everyone,
Sorry to bother you, have just spent the last few hours trying to solve
this. Have uncommented the line in php.ini, ensured the client tools are
installed. However when I try and view a PHP page now, the browser just
hangs indefinitely. If i take away the line in php.ini everything
returns to normal. Have heard I have to recompile with the freetds
library but am i not right in saying that is for unix/linux?

I think you are right. Do you use a named based resolution to get to
your SQL server or an IP address? Can you do

ping nameofsqlserver

telnet nameofsqlserver 1433
telnet ipaddressofsql 1433

Is SQL server listening on named pipes or tcp. Must be tcp afaik.

HTH, Jochen


--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
7
by: Tyler Foreman | last post by:
Hello, I have a strange problem that occurs every so often in my application. It usually takes place when I hide one form and activate another. What happens is I get the following exception:...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
2
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.