FastCGI with PHP 5.2.3 == FUBAR?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Drake
-


Joined: 10 Sep 2005
Posts: 6

PostPosted: Mon Aug 13, 2007 3:10 am    Post subject: FastCGI with PHP 5.2.3 == FUBAR? Reply with quote

Hey

Just upgraded my PHP from 5.1.5 to 5.2.3, and all of a sudden FastCGI is crashing (but running it as CGI/ISAPI works fine).

Long story short, I tried reinstalling everything in case I'd messed up etc. Still no joy.

Even a simple

Code:
<?php
 echo phpinfo();
?>


crashes it, so it seems something's up. Unfortunately nothing is getting written to any of the log files.

Anyone else have the problem? Solution? Suggestion?


Running Abyss X2 2.4 on XP SP2 with PHP 5.2.3

And like I said, everything works fine using CGI/ISAPI, but if I use FastCGI php-cgi goes down.
Back to top View user's profile Send private message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Mon Aug 13, 2007 4:12 am    Post subject: Reply with quote

Post your fastcgi.log.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Drake
-


Joined: 10 Sep 2005
Posts: 6

PostPosted: Mon Aug 13, 2007 5:28 am    Post subject: Reply with quote

Each occurrence of it produces something like this:

13/Aug/2007:00:05:15 -0400 SUID: 1 server_init() = {mutex=1144/478}
13/Aug/2007:00:05:15 -0400 SUID: 1 server_bind() = {pipe="\\.\pipe\abws-fcgi-00000001-01c7dd5ec10b353000000b6c"}
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 process_init() = {event=1140/474}
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 process_start(cmdline=""C:\Program Files\PHP\php-cgi.exe" ") = OK
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 connect() = OK
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table(type=9, size=56 bytes, items=3)
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table_item(key="FCGI_MAX_CONNS", value="")
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table_item(key="FCGI_MAX_REQS", value="")
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table_item(key="FCGI_MPXS_CONNS", value="")
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table_end()
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table(type=9, size=8 bytes, items=0)
13/Aug/2007:00:05:15 -0400 SUID: 1 PUID: 1 RUID: 0 send_table_end()
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 0 Reading 8 bytes failed = The process cannot access the file because it is being used by another process.
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 0 timeout-header1!
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 0 disconnect()
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 1 request_process(uri="/phpinfo.php")
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 1 connect() = The system cannot find the file specified.
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 1 disconnect()
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 RUID: 1 free_request()
13/Aug/2007:00:05:18 -0400 SUID: 1 PUID: 1 process_shutdown_now()
13/Aug/2007:00:05:19 -0400 SUID: 1 server_close()
Back to top View user's profile Send private message
Drake
-


Joined: 10 Sep 2005
Posts: 6

PostPosted: Wed Aug 15, 2007 11:14 pm    Post subject: Reply with quote

With help from Aprelium's tech excellent tech support, I was able to narrow the problem down to PHP 5.2.3

Uninstalling it, and replacing it with PHP 5.2.2 (the preconfigured distribution on Aprelium's website: http://www.aprelium.com/abyssws/php5win.html ) solved everything.

If anyone did manage to install 5.2.3 and use it with FastCGI successfully, I'd like to hear about it though, because I am curious if the problem happened on my end or if it was entirely PHP.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Aug 16, 2007 5:17 am    Post subject: Reply with quote

I test PHP 5.2.3 as a FastCGI locally on my development computer, and I don't have any problems. PHP 5.2.4 is coming out soon anyway.
Back to top View user's profile Send private message Visit poster's website
mcole
-


Joined: 10 Mar 2007
Posts: 18
Location: UK

PostPosted: Thu Aug 16, 2007 1:20 pm    Post subject: Reply with quote

I'm still using PHP 5.2.1 and have a log full of:

"Reading 0 bytes failed = The process cannot access the file because it is being used by another process." errors

but here they seem to cause no particular problem. Saw an explanation for them somewhere but cannot recall where just now.

Mark.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Aug 16, 2007 4:13 pm    Post subject: Reply with quote

mcole,

You're probably referring to http://www.aprelium.com/forum/viewtopic.php?p=62207#62207 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group