fix zend application PHP_SAPI issue