logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2 : "The connection with the server was reset&
Author
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sat 27 May '06 3:43    Post subject: Apache 2.2 : "The connection with the server was reset& Reply with quote

Hi,

I seem to be having a big problem, but I know it is apache 2.2 and not my connection. When browsing pages as normal, you will get an occasional "The connection with the server was reset." I hadn't thought anything of it until i put up a 56mb file for download, and no one could download it. Kept getting "connection with the server was reset."

First I thought: is it my cable line/network problem? I don't think so... because I run an FTP server and transfer of large files out of that do not do this and it doesn't time out.

What can I do to try to fix this? It must be apache 2.2 or something in it that I have set. I've summed it up to an apache issue, or my settings are simply not right.

I already added:

Timeout 99999
KeepAlive On
ThreadsPerChild 50
MaxRequestsPerChild 250

Just to try to improve it in any way with no luck. I don't have any additional mods installed except mod_security.

Thanks for your time,
Jcink

edit: Oh yeah, I'm running windows XP sp2. I have 1gb of ram. Pentium D processor. Win32disableacceptex thing is also added in there. EnableMMAP is off and EnableSendfile off. I do not have any firewalls, cept the winxp one I guess.


Last edited by Jcink on Sat 27 May '06 19:18; edited 2 times in total
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sat 27 May '06 7:37    Post subject: Reply with quote

edit: nevermind, still having issues.
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sat 27 May '06 19:00    Post subject: Reply with quote

Sorry, nevermind, still having issues. This time I did more testing on 1.3 and I come up with the same problem. What could be wrong on my end if my FTP server works fine?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 28 May '06 0:57    Post subject: Reply with quote

Freed the Port 80 in Win Firewall (also when firewall is off!)?
Is set Port 80 in httpd.conf?
Can others view html pages? Only reset when trying to download large files?
anything in the error log or windows eventlog?
Provider blocks long connection from outside?
router with firewall?
Tried a different Port? Like 8080
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sun 28 May '06 7:23    Post subject: Reply with quote

Hi,

Quote:
Freed the Port 80 in Win Firewall (also when firewall is off!)?


Is set Port 80 in httpd.conf?


Havent touched windows firewall yet. The server is on port 81.

Quote:
Can others view html pages? Only reset when trying to download large files?


Others can view HTML and PHP pages fine. However, while browsing after peroids of time, their browser will throw up a "Connection to the server was reset" error.

Quote:

anything in the error log or windows eventlog?


Upon further looking...

Code:
[u]FATAL:  emalloc():  Unable to allocate 1742387 bytes
[Sun May 28 00:17:09 2006] [notice] Parent: child process exited with status 1 -- [b]Restarting[/b].[/u]
[Sun May 28 00:17:10 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 00:17:10 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 00:17:10 2006] [notice] Parent: Created child process 11992
[Sun May 28 00:17:10 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 00:17:10 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 00:17:10 2006] [notice] Child 11992: Child process is running
[Sun May 28 00:17:10 2006] [notice] Child 11992: Acquired the start mutex.
[Sun May 28 00:17:10 2006] [notice] Child 11992: Starting 64 worker threads.
[Sun May 28 00:17:10 2006] [notice] Child 11992: Listening on port 88.
[Sun May 28 00:17:10 2006] [notice] Child 11992: Listening on port 81.


I don't really know what this is. I'm trying to research it now, it seems to be a PHP problem but what the heck. I search through the logs and its rebooting itself a lot.

Quote:
Provider blocks long connection from outside?


I don't think so. As I've said; my FTP server works fine and can stay downloading without probs so I don't think thats it.

Quote:
Router with firewall?


Nope. It's off.

Quote:
Tried a different Port? Like 8080


Yeah, I have it listening on 81, and 88 as well but same problem.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 28 May '06 13:11    Post subject: Reply with quote

Ok, I found out that it is an PHP bug in the EXIF function. Disable the EXIF module in the PHP.ini
Please try that out. I Hope that helps.

Also from your error log I can see Apache is runnig on Port 81 and 88. Make sure that it is only runnig on one Port.
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sun 28 May '06 17:57    Post subject: Reply with quote

Hi,

Ok, thanks. I checked php.ini though, and sadly:

;extension=php_exif.dll

It was already off. I also checked the reset of my extensions only have 1 PHP extension loaded, and that's the GD one.

Do you have any other suggestions?

Maybe PHP5 will fix this, or do you know what exactly is happening to apache here?

And yes I will take the server off port 88 I know its on there, but that was just for testing Razz
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 28 May '06 20:11    Post subject: Reply with quote

you still runnig PHP 4.3? Or another version of 4.x? Yes please use PHP 5!
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sun 28 May '06 20:58    Post subject: Reply with quote

Upgraded, but it didn't fix the problem. Here was my error log after I started it up then waited a bit:

[Sun May 28 14:53:37 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 14:53:37 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 14:53:37 2006] [notice] Parent: Created child process 10028
[Sun May 28 14:53:37 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 14:53:37 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 14:53:37 2006] [notice] Child 10028: Child process is running
[Sun May 28 14:53:37 2006] [notice] Child 10028: Acquired the start mutex.
[Sun May 28 14:53:37 2006] [notice] Child 10028: Starting 64 worker threads.
[Sun May 28 14:53:38 2006] [notice] Child 10028: Listening on port 88.
[Sun May 28 14:53:38 2006] [notice] Child 10028: Listening on port 81.
[Sun May 28 14:54:05 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
FATAL: emalloc(): Unable to allocate 16 bytes
[Sun May 28 14:54:10 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun May 28 14:54:11 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 14:54:11 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 14:54:11 2006] [notice] Parent: Created child process 9628
[Sun May 28 14:54:11 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 14:54:11 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 14:54:11 2006] [notice] Child 9628: Child process is running
[Sun May 28 14:54:11 2006] [notice] Child 9628: Acquired the start mutex.
[Sun May 28 14:54:11 2006] [notice] Child 9628: Starting 64 worker threads.
[Sun May 28 14:54:11 2006] [notice] Child 9628: Listening on port 88.
[Sun May 28 14:54:11 2006] [notice] Child 9628: Listening on port 81.
[Sun May 28 14:54:15 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
[Sun May 28 14:54:41 2006] [error] [client 192.168.1.1] File does not exist: C:/Program Files/EasyPHP1-8/www/main/phpqa/favicon.ico
[Sun May 28 14:54:41 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
[Sun May 28 14:54:42 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
FATAL: emalloc(): Unable to allocate 16 bytes
[Sun May 28 14:54:46 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun May 28 14:54:47 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 14:54:47 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 14:54:47 2006] [notice] Parent: Created child process 10848
[Sun May 28 14:54:47 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 14:54:47 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 14:54:47 2006] [notice] Child 10848: Child process is running
[Sun May 28 14:54:47 2006] [notice] Child 10848: Acquired the start mutex.
[Sun May 28 14:54:47 2006] [notice] Child 10848: Starting 64 worker threads.
[Sun May 28 14:54:47 2006] [notice] Child 10848: Listening on port 88.
[Sun May 28 14:54:47 2006] [notice] Child 10848: Listening on port 81.
[Sun May 28 14:54:53 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/text1.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/button4.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/button3.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/button5.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/button6.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/button7.swf, referer: http://dfmr.s1.jcink.com:81/prefabs.htm
[Sun May 28 14:54:54 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
[Sun May 28 14:54:55 2006] [error] [client 67.87.198.130] File does not exist: C:/Program Files/EasyPHP1-8/www/main/phpqa/style_images/100-2-100, referer: http://forums.jcink.com:81/index.php?showtopic=2519&st=180
[Sun May 28 14:54:56 2006] [error] [client 67.87.198.130] File does not exist: C:/Program Files/EasyPHP1-8/www/users, referer: http://forums.jcink.com:81/index.php?showtopic=2519&st=180
[Sun May 28 14:54:59 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
[Sun May 28 14:55:06 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
FATAL: emalloc(): Unable to allocate 1762889 bytes
[Sun May 28 14:55:13 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun May 28 14:55:13 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 14:55:13 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 14:55:13 2006] [notice] Parent: Created child process 8112
[Sun May 28 14:55:13 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 14:55:14 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 14:55:14 2006] [notice] Child 8112: Child process is running
[Sun May 28 14:55:14 2006] [notice] Child 8112: Acquired the start mutex.
[Sun May 28 14:55:14 2006] [notice] Child 8112: Starting 64 worker threads.
[Sun May 28 14:55:14 2006] [notice] Child 8112: Listening on port 88.
[Sun May 28 14:55:14 2006] [notice] Child 8112: Listening on port 81.
[Sun May 28 14:55:16 2006] [error] [client 70.49.217.17] File does not exist: C:/Program Files/EasyPHP1-8/www/favicon.ico
[Sun May 28 14:55:17 2006] [error] [client 80.42.41.10] File does not exist: C:/Program Files/EasyPHP1-8/www/main/phpqa/style_images/100-2-100, referer: http://forums.jcink.com:81/index.php?showtopic=2843&st=0&p=22311&
[Sun May 28 14:55:17 2006] [error] [client 80.42.41.10] File does not exist: C:/Program Files/EasyPHP1-8/www/users, referer: http://forums.jcink.com:81/index.php?showtopic=2843&st=0&p=22311&
[Sun May 28 14:55:18 2006] [error] [client 80.42.41.10] File does not exist: C:/Program Files/EasyPHP1-8/www/users, referer: http://forums.jcink.com:81/index.php?showtopic=2843&st=0&p=22311&
[Sun May 28 14:55:18 2006] [error] [client 69.30.154.49] File does not exist: C:/Program Files/EasyPHP1-8/www/s/host/DFMR/favicon.ico
[Sun May 28 14:55:18 2006] [error] [client 70.49.217.17] File does not exist: C:/Program Files/EasyPHP1-8/www/favicon.ico
[Sun May 28 14:55:19 2006] [error] [client 70.49.217.17] File does not exist: C:/Program Files/EasyPHP1-8/www/favicon.ico
[Sun May 28 14:55:56 2006] [error] [client 192.168.1.1] File does not exist: C:/Program Files/EasyPHP1-8/www/users, referer: http://forums.jcink.com:81/index.php?showtopic=2843
[Sun May 28 14:55:56 2006] [error] [client 192.168.1.1] File does not exist: C:/Program Files/EasyPHP1-8/www/main/phpqa/style_images/100-2-100, referer: http://forums.jcink.com:81/index.php?showtopic=2843
FATAL: emalloc(): Unable to allocate 1762955 bytes
[Sun May 28 14:55:58 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun May 28 14:55:58 2006] [notice] Jcink.com hosting Apache configured -- resuming normal operations
[Sun May 28 14:55:58 2006] [notice] Server built: Dec 30 2005 21:24:41
[Sun May 28 14:55:58 2006] [notice] Parent: Created child process 12220
[Sun May 28 14:55:58 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Sun May 28 14:55:58 2006] [notice] mod_security/1.9.4-rc1 configured - Apache/2.2.0 (Win32)
[Sun May 28 14:55:59 2006] [notice] Child 12220: Child process is running
[Sun May 28 14:55:59 2006] [notice] Child 12220: Acquired the start mutex.
[Sun May 28 14:55:59 2006] [notice] Child 12220: Starting 64 worker threads.
[Sun May 28 14:55:59 2006] [notice] Child 12220: Listening on port 88.
[Sun May 28 14:55:59 2006] [notice] Child 12220: Listening on port 81.
[Sun May 28 14:56:19 2006] [error] [client 82.79.245.117] File does not exist: C:/Program Files/EasyPHP1-8/www/anglahel, referer: http://board.bitefight.org/thread.php?threadid=2702
[Sun May 28 14:56:25 2006] [error] [client 192.168.1.1] File does not exist: C:/Program Files/EasyPHP1-8/www/users, referer: http://forums.jcink.com:81/index.php?showtopic=2836&st=0&#entry22281
[Sun May 28 14:56:25 2006] [error] [client 192.168.1.1] File does not exist: C:/Program Files/EasyPHP1-8/www/main/phpqa/style_images/100-2-100, referer: http://forums.jcink.com:81/index.php?showtopic=2836&st=0&#entry22281
[Sun May 28 14:56:26 2006] [error] [client 70.49.217.17] File does not exist: C:/Program Files/EasyPHP1-8/www/favicon.ico
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 28 May '06 21:26    Post subject: Reply with quote

Your server is listing on two Ports 88 and 81
Quote:

[Sun May 28 14:55:59 2006] [notice] Child 12220: Listening on port 88.
[Sun May 28 14:55:59 2006] [notice] Child 12220: Listening on port 81


Found your bug in PHP debugsDB http://bugs.php.net/bug.php?id=35159
I think it is caused by to less free memory. Do limit the memory from Apache or PHP? I saw that only starting 64 worker threads. On my server without any changing Apache starts 250 worker threads.
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sun 28 May '06 21:41    Post subject: Reply with quote

Code:
Timeout 100
KeepAlive On
MaxKeepAliveRequests 10000
KeepAliveTimeout 15
ThreadsPerChild 250
MaxRequestsPerChild 250


That's what I have, as of now. (been trying suggestions from different sources) Should I add more?
http://s1.jcink.com:81/server-status <- my status

I also upped the PHP to 100M of memory.

Look at this though:
http://bugs.php.net/bug.php?id=30405&edit=1

That seems really close to my bug....... but......... no fix. What to do....
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 28 May '06 22:12    Post subject: Reply with quote

Disable all extions in php.ini you don't need. Disable alle modules in Apache you don't need.

But for a real solution download apache from this page. Download newest PHP from php.net download the PHP module from this page. And make fresh new installation paralell to your running one. And try.
I had that bug a long time ago too. And I didn't find a solution than kill all PHP extension in PHP I didn't need.
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Sun 28 May '06 22:34    Post subject: Reply with quote

Well the thing is, I have done most of that already to the best I could.

Software wise:
1. I have the Apache from here with that module.
2. I now have the latest stable v of PHP, php 5.1.4

Extensions:
1. In apache I only have

LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule status_module modules/mod_status.so
LoadModule php5_module "c:/Program Files/Easyphp1-8/php/php5apache2.dll"

I disabled a lot. this is what I'm down to as of now. I kind of use all of that though. :-/ Some of those authz_ maybe could go, though. What do you have on your system?

2. In PHP i have 0 extensions added except php_mysql.dll and that is for my mysql. i really need that one. and GD library.

And fresh install... I have a fresh install of this running on another computer, with the same setup (my laptop) but it does the same thing.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 29 May '06 19:43    Post subject: Reply with quote

my configs in the importants parts

httpd.conf (cutted version)
Code:

ServerRoot "/server2/apache"
ServerAdmin ich@localhost
ServerName localhost:80
Listen 80

ThreadsPerChild 250
MaxRequestsPerChild  0
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off

ServerSignature On
HostnameLookups Off

ExtendedStatus On

LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule headers_module modules/mod_headers.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule status_module modules/mod_status.so
######
PHPIniDir "/server2/php"
LoadModule php5_module "/server2/php/php5apache2.dll"
AddType application/x-httpd-php .php
#######
##########
DocumentRoot "/server2/www"
########
DefaultType text/plain
########
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
########
<Directory "/server2/www">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 localhost
</Location>
#######
<IfModule dir_module>
    DirectoryIndex index.php index.htm index.html
</IfModule>
########
IndexOptions FancyIndexing VersionSort
########
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch>
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AccessFileName .htaccess
########
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "Microsoft URL Control - 6.00.8862" nokeepalive


php.ini (cutted version)
Code:

zend.ze1_compatibility_mode = Off

short_open_tag = On
precision    =  14
serialize_precision = 100
y2k_compliance = Off
output_buffering = 4096
zlib.output_compression = Off

implicit_flush = Off
unserialize_callback_func=
allow_call_time_pass_reference = Off

register_globals = Off
register_argc_argv = Off
register_long_arrays = On

error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On

error_log = /server2/logs/phperror.log

extension_dir = /server2/php/ext/

extension=pecl/php_adt.dll
   ;extension=pecl/php_apc.dll
extension=php_bz2.dll
extension=pecl/php_bz2_filter.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_gd2.dll ; kann
extension=php_gettext.dll
;extension=pecl/php_http.dll
extension=php_imap.dll
extension=pecl/php_lzf.dll
extension=php_mcrypt.dll
extension=php_ming.dll
extension=php_mysql.dll ; libmysql.dll ins Apache\bin Verz, kopieren
extension=pecl/php_ntuser.dll
extension=php_openssl.dll
extension=pecl/php_printer.dll
extension=php_sockets.dll
extension=pecl/php_win32std.dll
extension=pecl/php_win32scheduler.dll
extension=pecl/php_win32ps.dll
extension=pecl/php_zip.dll
extension=pecl/php_zlib_filter.dll
Back to top
emjay



Joined: 24 Jan 2006
Posts: 6
Location: Berlin, Germany

PostPosted: Sat 03 Jun '06 15:42    Post subject: Reply with quote

IMHO its the best to keep apache 1.3 under windows...
PHP 4.4.2 works also great there.
if you want to stop all php-related problems, use php-fastcgi. it works very well under windows and its the best way to determine if apache or php is the problem.

One big problem under php/apache2(phpmodule) is that it opens op a command line every time you run system() from php...

If you cant make your problems with apache go away, try running xampp

Good luck
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sat 03 Jun '06 17:24    Post subject: Reply with quote

XAMPP ist not safe. XAMPP is for developpment. If you don't know how to fix that open configuaration, there are some big security holes.
On the XAMPP webpage says that you shouldn't use it for internet.

For myself I think XAMPP is also to large. And it also contains to many things I don't need. Many unused modules in Apache and Most ppl won't need perl, excluded those who run their pages with it.
Back to top
Jcink



Joined: 06 Mar 2006
Posts: 23

PostPosted: Tue 06 Jun '06 8:24    Post subject: Reply with quote

Thanks everyone for the suggestions, sadly though, I still can't solve it. I'm at a loss as to what to do at this point.

I tried going back to 1.3 already, and sadly php 4.4.2 does not work great there for me. I have a pretty busy webserver where I get those two PHP bugs to happen a lot. It doesnt happen late at night as much because not that many are on. The less busier, the better, and it's that PHP bug which I just can't shake... it is PHP and not apache.

I believe, because when I disable the PHP module and test this on my own local machine I don't get this issue.

I guess I may need to look into a linux server... Sad
Back to top


Reply to topic   Topic: Apache 2.2 : "The connection with the server was reset& View previous topic :: View next topic
Post new topic   Forum Index -> Apache