View previous topic :: View next topic |
Author |
Message |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Thu Aug 24, 2006 3:13 pm Post subject: PHP Broken Pipe - HTTP Error 500 + More **Fixed** |
|
|
G'day all,
**Update**
See bottom of this thread for the update - Everything works
Thankyou all for your help
**End of Update**
I've recently had a problem with a server falling over, and promptly dieing, and up until then I had a phpbb forum working nicely enough.
With both php (The Aprelium 5.1.4 pre-compiled package) and Abyss 2.3.2 re-installed, I'm now getting either HTTP 500 (Internal Server) errors or its unable to connect to the MySQL database - but nothing's changed that'd cause that.
I'm using the php-cgi.exe, and in the logs I'm getting broken pipe errors?
Has anyone got any ideas why this'd be happening?
Cheers,
Pottsie _________________ Cheers and Beers
Last edited by Pottsie on Mon Aug 28, 2006 9:48 am; edited 2 times in total |
|
Back to top |
|
 |
Mikor -
Joined: 21 Aug 2006 Posts: 144 Location: Hull, England
|
Posted: Thu Aug 24, 2006 3:17 pm Post subject: |
|
|
what php version are you using? the abyss pre-configured package? _________________ Yarrt.com - Free Arcade
RypNet.co.uk - Online Game
MSN: michael_walker_2004 <at> hotmail <dot> com |
|
Back to top |
|
 |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Thu Aug 24, 2006 3:21 pm Post subject: |
|
|
G'day,
Yeah, I'm using the Aprelium pre-configured binary (PHP 5.1.4)
Thanks for the quick reply mate.
Cheers,
Pottsie
**Edited to Add**
I'm running this off a Win98SE OS using php as a standard-CGI interpreter (Not FastCGI as it isn't supported) _________________ Cheers and Beers
Last edited by Pottsie on Thu Aug 24, 2006 3:28 pm; edited 1 time in total |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Aug 24, 2006 3:27 pm Post subject: |
|
|
Try reinstalling php and let us know about any other errors you get. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Thu Aug 24, 2006 4:00 pm Post subject: |
|
|
G'day,
I've reinstalled the pre-configured 5.1.4 package, set it up on Abyss (removed the php config section before removing php) according to the Aprelium guide, and we're back to square 1.
Got HTTP 500 Internal Server Errors - the log says:
CGI: ["Path\php-cgi.exe"] URI: /forum/index.php Broken Pipe
Cheers,
Pottsie _________________ Cheers and Beers |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Aug 24, 2006 4:32 pm Post subject: |
|
|
Try standard CGI instead of fastCGI and see if that works. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Thu Aug 24, 2006 4:36 pm Post subject: |
|
|
G'day,
Yeah, its using standard CGI - Win98se won't let me run it as FastCGI.
Cheers,
Pottsie _________________ Cheers and Beers |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Aug 24, 2006 4:37 pm Post subject: |
|
|
Try using php4 or an older version of php5 since 9x might not be as compatable as xp etc is. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Thu Aug 24, 2006 4:42 pm Post subject: |
|
|
G'day,
Rightio - I'll give it a stab.
Security issues shouldn't be too much of a problem, as its used behind a NAT and several corporate firewalls.
Cheers,
Pottsie _________________ Cheers and Beers |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Fri Aug 25, 2006 12:22 am Post subject: |
|
|
I switched my server over to Windows 98 a few months ago. My counter script stopped working (it was a Perl script), so I had to code my own.
The reason the script stopped working is because Windows 98 doesn't support all the built-in functions of Perl (specifically file locking).
Agreeing with AbyssUnderground, you might also try running this script from an XP computer. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Aug 25, 2006 5:14 pm Post subject: |
|
|
Pottsie,
Try running php-cgi.exe directly by double clicking on it. Does it report an error message in Windows? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Pottsie -
Joined: 23 Aug 2006 Posts: 14 Location: Victoria, Australia
|
Posted: Mon Aug 28, 2006 9:29 am Post subject: |
|
|
G'day all,
I've got no idea how, or why, but its now working :D
I'm trying to figure out what I did or changed, but I can't think of anything.
With it now working, I'm gonna do the "prayer to the IT Gods" and leave this machine going for as long as possible in the hope that it doesn't break again :P
I'll keep yas in the know regarding php versions that run on Win 98SE, as I'm sure there'll eventually be a point of where they discontinue support for it.
Thankyou everyone for your help, its been really handy in trying to hammer this sucker out.
Cheers,
Pottsie _________________ Cheers and Beers |
|
Back to top |
|
 |
|