php: handle php-apache properly (#1084)