fix bug in php conf, add phpinfo and index, nginx with backport, modified doc