From fa57b96e72b69b49874c6a85d603442108c47a01 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Thu, 24 May 2001 21:41:49 +0000 Subject: [PATCH] Don't restart apache, i. e. don't start if not running. It seems to cause problems for some users. PR: ports/26314 --- www/mod_php3/Makefile | 2 -- www/mod_php3/pkg-plist | 2 -- www/mod_php4/Makefile | 2 -- www/mod_php4/pkg-plist | 2 -- www/mod_php5/Makefile | 2 -- www/mod_php5/pkg-plist | 2 -- 6 files changed, 12 deletions(-) diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index e5154293668d..51c47bbb9841 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -62,8 +62,6 @@ pre-fetch: post-install: .if !defined(STANDALONE) - @${ECHO} "Restarting Apache..." - @${PREFIX}/sbin/apachectl restart @${INSTALL_DATA} ${WRKSRC}/php3.ini-dist ${PREFIX}/etc .else @${MKDIR} ${PREFIX}/etc/php.standalone diff --git a/www/mod_php3/pkg-plist b/www/mod_php3/pkg-plist index 20bcffb816e2..aaf14991fa47 100644 --- a/www/mod_php3/pkg-plist +++ b/www/mod_php3/pkg-plist @@ -2,5 +2,3 @@ etc/php3.ini-dist %%AP_LIBEXEC%%/libphp3.so @exec %D/sbin/apxs -e -a -n php3 %f @unexec %D/sbin/apxs -e -A -n php3 %f -@exec %D/sbin/apachectl restart -@unexec %D/sbin/apachectl restart diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index f0ac5b0440e3..f16a8ce4ccf9 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -63,8 +63,6 @@ pre-fetch: post-install: .if !defined(STANDALONE) - @${ECHO} "Restarting Apache..." - @${PREFIX}/sbin/apachectl restart @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc .else @${MKDIR} ${PREFIX}/etc/php.standalone diff --git a/www/mod_php4/pkg-plist b/www/mod_php4/pkg-plist index 0991a3549135..590514a856b1 100644 --- a/www/mod_php4/pkg-plist +++ b/www/mod_php4/pkg-plist @@ -2,5 +2,3 @@ etc/php.ini-dist %%AP_LIBEXEC%%/libphp4.so @exec %D/sbin/apxs -e -a -n php4 %f @unexec %D/sbin/apxs -e -A -n php4 %f -@exec %D/sbin/apachectl restart -@unexec %D/sbin/apachectl restart diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index f0ac5b0440e3..f16a8ce4ccf9 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -63,8 +63,6 @@ pre-fetch: post-install: .if !defined(STANDALONE) - @${ECHO} "Restarting Apache..." - @${PREFIX}/sbin/apachectl restart @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc .else @${MKDIR} ${PREFIX}/etc/php.standalone diff --git a/www/mod_php5/pkg-plist b/www/mod_php5/pkg-plist index 0991a3549135..590514a856b1 100644 --- a/www/mod_php5/pkg-plist +++ b/www/mod_php5/pkg-plist @@ -2,5 +2,3 @@ etc/php.ini-dist %%AP_LIBEXEC%%/libphp4.so @exec %D/sbin/apxs -e -a -n php4 %f @unexec %D/sbin/apxs -e -A -n php4 %f -@exec %D/sbin/apachectl restart -@unexec %D/sbin/apachectl restart