Solved

PHP error - winsock.dll unusable. 1009

Posted on 2006-06-22
8
636 Views
Last Modified: 2008-01-09
Hi,

After writing this code in PHP:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?
$counter = 1;
while ( $counter <= 5 ) {
mail("test6389@hotmail.com", "Test", "\n\n\Test");
$counter = $counter + 1;
}
?>
</body>
</html>

I get this:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

winsock.dll unusable. 1009

Please tell me what is wrong. I use the latest PHP and the default IIS from windows XP.
0
Comment
Question by:m3lis
  • 5
  • 3
8 Comments
 
LVL 10

Accepted Solution

by:
dnojcd earned 20 total points
ID: 16965493
There may be chances that you winsock.dll files has been corrupted. Reinistall the dll file.and also try adding the "authenticated users" and "ineteractive "in ur users group.

Check the security settings of the swebsite too
0
 

Author Comment

by:m3lis
ID: 16966214
>>>also try adding the "authenticated users" and "ineteractive "in ur users group

how do I do that?
0
 
LVL 10

Expert Comment

by:dnojcd
ID: 16967634
go the manage by right clicking the "My computer"
then Local users and Groups... select groups-- check in the properties if those are allready added. if its not there add them and check
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:m3lis
ID: 16968085
Please be more specific. I am in "Groups" and I have on the right: Administrators, Backup Operators, Guests, Network Configuration, Power Users, Remote Desktop users, Replicator, Users, HelpServicesGroup. What do I do?
0
 
LVL 10

Expert Comment

by:dnojcd
ID: 16969726
double click the "users" and see if both  the above mentioned groups are allready  included in "users" there.if not add them
0
 

Author Comment

by:m3lis
ID: 16971243
Yes they are both already there, among with ASPNET.
0
 

Author Comment

by:m3lis
ID: 16971732
I just checked and when I write the site with its IP I get this error, but when I write localhost (on the server) it WORKS!! What shall I do?
0
 

Author Comment

by:m3lis
ID: 17012836
I guess I must work with localhost. Thanks for the try dnojcd.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question