# for using PHP post scripts. for PHP >= 5.0
%php_webserver_restart \
[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
-[ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
+[ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart \
if [ -f /etc/rc.d/init.d/php-fcgi ]; then \
PHP_FCGI_BINARY=; . /etc/sysconfig/php-fcgi 2>/dev/null \
if [[ ${PHP_FCGI_BINARY:-php.fcgi} = *php.fcgi* ]]; then \
# for using php post scripts. for PHP >= 4.0 && PHP < 5.0
%php4_webserver_restart \
[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
-[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
+[ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
if [ -f /etc/rc.d/init.d/php-fcgi ]; then \
PHP_FCGI_BINARY=; . /etc/sysconfig/php-fcgi 2>/dev/null \
if [[ ${PHP_FCGI_BINARY:-php.fcgi} = *php4.fcgi* ]]; then \