Solved

PHP error - winsock.dll unusable. 1009

Posted on 2006-06-22
8
638 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 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