Use PHP_SAPI constant