php is probably about as secure as nginx. big old bundles of C