PDA

View Full Version : IIS Help


SloppyGoat
05-19-2002, 03:47 PM
I've noticed there are no forums that have anything about server configs or anything. Does this mean any questions that don't fit under the description will be accepted with less than enthusiasm? :nervous: Just curious....I'm trying to figure out a few IIS errors, and don't seem to be getting any replies from vB.com. I just figure there might be some here who have IIS knowledge, but I don't want to be the idiot who posts under the wrong topic. :laugh:

BTW, I like the board. ;)

NTLDR
05-19-2002, 06:29 PM
I have some IIS (5.0, 5.1, 6.0) knowlage, I run my test board under IIS with PHP 4.2.0.

What are the problems your having? I can see if I can help.


After taking alook around I'm guessing that your still not a licenced user (I could be wrong here, my appolgies if I am, perhaps a mod could let us know?), which is why you won't be getting any help.

Also you only posted your problems today, give people time, aslo I think they should be very easy to solve ;)

SloppyGoat
05-19-2002, 11:06 PM
Yes, I am a licensed user. Otherwise I couldn't post here, right? I'll be glad to provide the info if needed. You have to enter the support forum username, correct? I thought that was how they know. I had to enter it for both forums.

Anyway, here's what's happening....

I've been getting multiple instances of these in my event log lately. I'm running W2K Server/IIS5, PHP 4.1.2 w/gzip on a local dedicated server.

(examples of various but similar errors/warnings)

W3SVC error Event ID 16

The script started from the URL '/tga/showthread.php' with parameters 's=&postid=10575' has not responded within the configured timeout period. The HTTP server is terminating the script.

smtpsvc warning Event ID 4000

Message delivery to the remote domain 'yahoo.com' failed for the following reason: Unable to successfully connect to the remote server.

Do you have any suggestions on what to do about these? They don't seem to be causing any problems, but I'd really love to figure out how to get rid of them.

Also, can you tell me how to prevent hotlinking?

Thanks

Admin
05-20-2002, 11:14 AM
You can continue the conversation here... :)

NTLDR
05-20-2002, 02:21 PM
Originally posted by SloppyGoat
Yes, I am a licensed user. Otherwise I couldn't post here, right?(examples of various but similar errors/warnings)

Please accept my apologgies, but in you said in another post that you were not licenced. And as all registered people can post in the lounge, where this thread started, I can't tell if you were registered or not.


W3SVC error Event ID 16

The script started from the URL '/tga/showthread.php' with parameters 's=&postid=10575' has not responded within the configured timeout period. The HTTP server is terminating the script.


I would guess this is happening because the PHP script hasn't executed withing 30 seconds, this can be changed, I'll have a look at where the setting is when I get home.


smtpsvc warning Event ID 4000

Message delivery to the remote domain 'yahoo.com' failed for the following reason: Unable to successfully connect to the remote server.


Check that in your php.ini file that your have the SMTP server set as locahost or 127.0.0.1 if the SMTP server is run on the same as IIS.

SloppyGoat
05-20-2002, 10:34 PM
Thanks FireFly! Yes, I was an evil unlicensed bastard when I first came in here(sorry:nervous:), but I did have every intention of buying a lifetime license, which should cover me since birth, eh? :D To tell you the truth, I never would've purchased vB based on my opinion of vBLite. But once I saw the true power of vB, I was very impressed and more than willing to support the developers of this wonderful BB software. ;)

Anyway, I'm all legal now, as I'd planned originally anyway.

Back to the topic here.....

I have a very simple php.ini, since I really don't know much about it yet. I have the name of my server instead of localhost though. I tried changing it to localhost, but it won't work that way. Does this have something to do with the way I set up mysql?
Here's what I have. Someone said something about setting timings in php.ini? Maybe I need those lines?

; php.ini for PEAR tests
include_path=..
[mail function]
SMTP= server ; for Win32 only
sendmail_from= webmaster@server.com ; for Win32 only
upload_tmp_dir = C:\PHP3\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:\PHP3\sessiondata ; argument passed to save_handler
[PHP]
error_reporting= E_ALL; display all errors, warnings and notices

file_upload=1

extension=php_zlib.dll

extension_dir=C:\winnt\system32

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60 ; Maximum execution time of each script, in seconds
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)


Oh yeah, I am running PHP4, I just never changed the folder name, in case you're wondering. And I just added the resource limits recently.

NTLDR
05-21-2002, 04:11 PM
Originally posted by SloppyGoat
; php.ini for PEAR tests
include_path=..
[mail function]
SMTP= server ; for Win32 only
sendmail_from= webmaster@server.com ; for Win32 only

Oh yeah, I am running PHP4, I just never changed the folder name, in case you're wondering. And I just added the resource limits recently.

Where you have server as shown above, I take it that you actually have localhost or the servers name there and not just server and server.com?

What version of PHP4 is it?

SloppyGoat
05-21-2002, 11:31 PM
Yes, I have the server's name there. It's php4.1.2. I'm sort of afraid to install the new php. I had some trouble trying to install that version from 4.1.1. I ended up manually installing the newer files. I also had to remove the resource lines I added. That actually made it worse. :confused:
Can you give me some tips on how to install the new php4.2 without screwing up? :cross-eyed:
And of course, any advise on these errors and warnings is very much appreciated. ;)

Nevermind about the PHP install. I give up! I've tried time and time again, and the MF never works! :mad: No one can seem to tell me anything at vB.com either. So much for support, I guess. :dead:

I'll be happy if I can just get the errors and warnings smoothed out.

SloppyGoat
05-23-2002, 03:07 AM
BUMP! :cross-eyed:

NTLDR
05-23-2002, 11:29 AM
Well I've attached my PHP.INI here, its the one that was created by default by PHP.

I installed PHP 4.2.1 (http://www.php.net/downloads.php) from PHP.NET, slelect the windows installer verion and it will configure IIS for you.

SloppyGoat
05-25-2002, 02:59 AM
Man, I tried that. I can't seem to get any PHP after 4.1.2 to install and work. It says it can't configure it because an OCX is missing, but it doesn't give a file name. All attempts to configure it manually have failed. :cross-eyed: :lick:

NTLDR
05-25-2002, 07:26 PM
My PHP.INI didn't seem to attach last time, this is the one I use with PHP 4.2.1 and IIS 6.0.

SloppyGoat
05-25-2002, 10:00 PM
Thanks! I have a question. I noticed your domain name in your "SMTP=". Well, since I'm getting some warnings from certain pop servers, I'm wondering if I can use my isp's or my redirector's(I have DHCP cable) domain to solve that problem? Or will that screw up my sending capabilities? Is that the line that sends the address that they try to verify?
The emails are still being delivered, but I get Event ID 4000 warnings sometimes....probably because I have no MX record, I guess? There's nothing to verify for those servers that need to. Luckily, they seem to be quite forgiving.

NTLDR
05-26-2002, 03:36 PM
The domain name I have in my PHP.INI posted is that of my ISP. I think changing the SMTP= line to have your ISP's server in instead of localhost should remove the event log errors you are getting.

SloppyGoat
05-26-2002, 11:58 PM
That's what I was thinking. Thanks, I'll give it a try. I wasn't sure if that had to be the name of the localhost to work properly.

SloppyGoat
05-28-2002, 02:41 AM
Originally posted by NTLDR

I would guess this is happening because the PHP script hasn't executed withing 30 seconds, this can be changed, I'll have a look at where the setting is when I get home.


Did you ever check to see if you could find that setting? I really wish I knew which one is causing this. Every setting I've found so far seems more than adequate.

NTLDR
05-28-2002, 02:43 PM
Have a look in your PHP.INI for:

; Default timeout in seconds.
pfpro.defaulttimeout = 30

I think you just need to change 30 to the number of seconds you want to allow for the script to execute.

SloppyGoat
05-30-2002, 12:35 AM
Thanks, I'll give it a try. :)