Don't restart apache, i. e. don't start if not running.
It seems to cause problems for some users. PR: ports/26314
This commit is contained in:
parent
f1c80f1988
commit
fa57b96e72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43032
6 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue