mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
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:
|
post-install:
|
||||||
.if !defined(STANDALONE)
|
.if !defined(STANDALONE)
|
||||||
@${ECHO} "Restarting Apache..."
|
|
||||||
@${PREFIX}/sbin/apachectl restart
|
|
||||||
@${INSTALL_DATA} ${WRKSRC}/php3.ini-dist ${PREFIX}/etc
|
@${INSTALL_DATA} ${WRKSRC}/php3.ini-dist ${PREFIX}/etc
|
||||||
.else
|
.else
|
||||||
@${MKDIR} ${PREFIX}/etc/php.standalone
|
@${MKDIR} ${PREFIX}/etc/php.standalone
|
||||||
|
|
|
@ -2,5 +2,3 @@ etc/php3.ini-dist
|
||||||
%%AP_LIBEXEC%%/libphp3.so
|
%%AP_LIBEXEC%%/libphp3.so
|
||||||
@exec %D/sbin/apxs -e -a -n php3 %f
|
@exec %D/sbin/apxs -e -a -n php3 %f
|
||||||
@unexec %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:
|
post-install:
|
||||||
.if !defined(STANDALONE)
|
.if !defined(STANDALONE)
|
||||||
@${ECHO} "Restarting Apache..."
|
|
||||||
@${PREFIX}/sbin/apachectl restart
|
|
||||||
@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
|
@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
|
||||||
.else
|
.else
|
||||||
@${MKDIR} ${PREFIX}/etc/php.standalone
|
@${MKDIR} ${PREFIX}/etc/php.standalone
|
||||||
|
|
|
@ -2,5 +2,3 @@ etc/php.ini-dist
|
||||||
%%AP_LIBEXEC%%/libphp4.so
|
%%AP_LIBEXEC%%/libphp4.so
|
||||||
@exec %D/sbin/apxs -e -a -n php4 %f
|
@exec %D/sbin/apxs -e -a -n php4 %f
|
||||||
@unexec %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:
|
post-install:
|
||||||
.if !defined(STANDALONE)
|
.if !defined(STANDALONE)
|
||||||
@${ECHO} "Restarting Apache..."
|
|
||||||
@${PREFIX}/sbin/apachectl restart
|
|
||||||
@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
|
@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
|
||||||
.else
|
.else
|
||||||
@${MKDIR} ${PREFIX}/etc/php.standalone
|
@${MKDIR} ${PREFIX}/etc/php.standalone
|
||||||
|
|
|
@ -2,5 +2,3 @@ etc/php.ini-dist
|
||||||
%%AP_LIBEXEC%%/libphp4.so
|
%%AP_LIBEXEC%%/libphp4.so
|
||||||
@exec %D/sbin/apxs -e -a -n php4 %f
|
@exec %D/sbin/apxs -e -a -n php4 %f
|
||||||
@unexec %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…
Add table
Reference in a new issue