View previous topic :: View next topic |
Author |
Message |
Drake -
Joined: 10 Sep 2005 Posts: 6
|
Posted: Mon Aug 13, 2007 3:10 am Post subject: FastCGI with PHP 5.2.3 == FUBAR? |
|
|
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 |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Mon Aug 13, 2007 4:12 am Post subject: |
|
|
Post your fastcgi.log. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
Drake -
Joined: 10 Sep 2005 Posts: 6
|
Posted: Mon Aug 13, 2007 5:28 am Post subject: |
|
|
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 |
|
 |
Drake -
Joined: 10 Sep 2005 Posts: 6
|
Posted: Wed Aug 15, 2007 11:14 pm Post subject: |
|
|
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 |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Aug 16, 2007 5:17 am Post subject: |
|
|
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 |
|
 |
mcole -
Joined: 10 Mar 2007 Posts: 18 Location: UK
|
Posted: Thu Aug 16, 2007 1:20 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
|