On Mon, Apr 7, 2014 at 2:57 PM, Ian <yaws@poetmail.net> wrote:
To add PHP under Yaws 1.98, I simply installed php5-cgi and it worked
without any config.

Trouble is, PHP as CGI isn't very efficient - you get a fresh process
for every request so you have the full overhead each time and things
like opcache won't work.

Is there is a better way to use PHP under Yaws?

I was wondering if perhaps anyone has tried Davide's solution with any
success - http://sourceforge.net/p/erlyaws/mailman/message/24175544/ -
although that project doesn't seem to have been updated since 2009.

Davide's work aside, FCGI support is present in Yaws. Have you tried it with PHP?