tags 574000 +moreinfo unreproducible
severity 574000 important
thank you

> After upgraded php5-cgi to 5.3.2-1, my local web server's php scripts
> stop running, with message 'No input file specified.'
>
> I replaced my php binary instance in fcgi script directory as:
>
> #!/bin/sh
> exec strace ./php5.real $* 2>> /tmp/php5.strace

The strace you send is after you already made symbolic link.

strace under clean system looks like this:

open("./php-cgi-fcgi.ini", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/bin/php-cgi-fcgi.ini", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/etc/php5/cgi/php-cgi-fcgi.ini", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("./php.ini", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/bin/php.ini", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/php5/cgi/php.ini", O_RDONLY) = 3
lstat("/etc/php5/cgi/php.ini", {st_mode=S_IFREG|0644, st_size=67459, ...}) = 0
lstat("/etc/php5/cgi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/php5", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0


I believe there is something hidden inside this script. Could you
provide more info on your fcgi configuration?

-- 
Ondřej Surý <ond...@sury.org>
http://blog.rfc1925.org/



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to