473,385 Members | 1,397 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,385 software developers and data experts.

MS SQL Win32

I've been using PHP for years, in a UNIX/Oracle/Linux/MySQL/etc
environment. Now I've got to get it up and running on a Win2K server,
IIS/5, SQL Server 2000. I've got PHP installed properly (using
5.0.0b2), phpinfo() does what you'd expect it to, so far so good.

However, when I include the `extension = php_mssql.dll` line in
php.ini, any subsequent request to a PHP script hangs, until
eventually the server times out and destroys the process. Full INI
contents:

cgi.force_redirect = 0
extension_dir = c:\php5b2
extension = php_mssql.dll

Nothing else is going on, on the server, and it's a pretty beefy
server (quad Xeon). So something else is going on... Where should I
start looking? I'm a PHP-on-Windows noob :\

Thanks all!
Jul 17 '05 #1
1 2575
oj******@yahoo.com (Wendell) wrote in message...
I've been using PHP for years, in a UNIX/Oracle/Linux/MySQL/etc
environment. Now I've got to get it up and running on a Win2K server,
IIS/5, SQL Server 2000. I've got PHP installed properly (using
5.0.0b2), phpinfo() does what you'd expect it to, so far so good.

However, when I include the `extension = php_mssql.dll` line in
php.ini, any subsequent request to a PHP script hangs, until
eventually the server times out and destroys the process. Full INI
contents:

cgi.force_redirect = 0
extension_dir = c:\php5b2
extension = php_mssql.dll

Nothing else is going on, on the server, and it's a pretty beefy
server (quad Xeon). So something else is going on... Where should I
start looking? I'm a PHP-on-Windows noob :\

Thanks all!


{ Aside -- My preference is not to run PHP on Windows. I'd install
RH9, which comes with PHP, MySQL, and PostgreSQL, ready-to-go. It's
more secure. }

Anyway, I imagine that the dll needs FreeTDS for Windows installed on
that server.

Another thing you could do, if you are desparate, is to abandon the
DLL and build your own multithreaded TCP socket server in VB6 or
C#.NET that does OLE DB interaction with MS SQL Server. Then, you
could use the PHP socket library to interact with that. I think you'll
be surprised with how fast this can be. You'll have to think up your
own security model, hacker protection, and data composition and
parsing, but it's well worth it to have everything under your own
control, imho.

Mike
Jul 17 '05 #2

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

Similar topics

1
by: RL | last post by:
Hi all, I am new and am lost with Win32::Process stuff. I want on perl script to start a process, then another perl script to terminate the same process. I can start a process using......
2
by: RL | last post by:
Hello Perl gurus, 1. I have a web page where I can push a button (dospawn.html). 2. This button calls a CGI script (spawnboss.cgi) 3. spawnboss.cgi calls a forking perl script (forkme.pl) 4....
5
by: Bryan Parkoff | last post by:
Please provide me the information when it is not in the correct newsgroups. I have been using C and C++ language for a long time when it is time for me to learn Win32 API functions that they can...
2
by: Tony Johansson | last post by:
Hello!! When you for example use C++.net environment for develop an GUI application does this mean that you doesn't use win32 API as much as when you had visual studio 6.0 because of the large...
8
by: Tony Johansson | last post by:
Hello! I just wonder what the difference is between a native win32-app and MFC. What I know is that you can use Win32 API in both cases. I think an MFC application is connected with a GUI...
3
by: Gil | last post by:
I need to create a web page in which its content should be controlled by some win32 application. this application may add or remove some gif images from the page and it should be smooth as possible...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
0
by: jbenezech | last post by:
Hi all , I have a perl/java app running under Win32. The application consists of a perl service (Win32::Daemon) and of java classes. The perl service calls every xx hours java classes to perform...
3
by: somuchh8 | last post by:
Hi, I'm having a lot of trouble with the Win32::Spawn module in perl. Here is my situation, I have a Win32::Spawn call which looks like this: my $success = undef; my $cmdline =...
6
by: Perl Beginner | last post by:
Good morning all, I had to reinstall Perl (ActivePerl 5.10.0 Build 1004) on my computer (Windows XP), the install went fine. however, I'm having issues loading Win32-GuiTest using the repository in...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.