Thomas,
my SAPI is CGI, not CLI (I read it on phpinfo).
in the page you mentioned are interesting contributed that make me feel my probelm is well known
Adam wrote:[quote]Ok, I've had a heck of a time with PHP > 4.3.x and whether to use CLI vs CGI. The CGI version of 4.3.2 would return (in browser):
No input file specified.
And the CLI version would return:
500 Internal Server Error
It appears that in CGI mode, PHP looks at the environment variable PATH_TRANSLATED to determine the script to execute and ignores command line. That is why in the absensce of this environment variable, you get "No input file specified." However, in CLI mode the HTTP headers are not printed.[/quote]That's my error message too. I get the message because my SAPI is CGI.
He arrived to this conclusion
By modifying my CGI wrapper to create this PATH_TRANSLATED environment variable, it solved my problem, and I was able to run the CGI build of 4.3.2
How is possible to do that ?
Again, in a reply to Adam:
The basic issue was that PHP-as-CGI REALLY REALLY wants SCRIPT_FILENAME.
It ignores the command line. It ignores SCRIPT_NAME. It wants
SCRIPT_FILENAME. [...] If SCRIPT_FILENAME is not set, you'll get the dreaded "No input file specified" message. [...] You need to patch it in to make_envp.
Again, how to do this ?
The point is I have no access to the server shell and I cannot remake php.
What I can do is to move a request to the server admin, but the request should be clear (and well founded...)