Is there a way to get PHP and thttpd to work together in CGI mode? There is some pieces of information here, but our naive attempts failed because PHP does not understand the environment variables set by thttpd and therefore cannot find the script file.
Building php as a thttpd module is undesirable due to the configuration of the user assembly (this is an embedded device), but it is possible as a last resort. However, I would like to avoid this using the CGI approach, if possible.
source share