Skip to content

Commit db32288

Browse files
author
epriestley
committedDec 31, 2013
Note where to stop/start php-fpm in upgrade example script
Summary: This isn't as explicit as it could be. Test Plan: Reading. Reviewers: poop Reviewed By: poop CC: aran Differential Revision: https://secure.phabricator.com/D7861
1 parent ad382b3 commit db32288

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎scripts/install/update_phabricator.sh

+4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ $ROOT/phabricator/bin/phd stop
3333
# Stop the webserver (apache, nginx, lighttpd, etc). This command will differ
3434
# depending on which system and webserver you are running: replace it with an
3535
# appropriate command for your system.
36+
# NOTE: If you're running php-fpm, you should stop it here too.
37+
3638
sudo /etc/init.d/httpd stop
3739

40+
3841
# Upgrade the database schema. You may want to add the "--force" flag to allow
3942
# this script to run noninteractively.
4043
$ROOT/phabricator/bin/storage upgrade
4144

4245
# Restart the webserver. As above, this depends on your system and webserver.
46+
# NOTE: If you're running php-fpm, restart it here too.
4347
sudo /etc/init.d/httpd start
4448

4549
# Restart daemons.

‎src/docs/user/installation_guide.diviner

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ See <https://bugs.php.net/bug.php?id=59747> for more information.
155155
Since Phabricator is under active development, you should update frequently. To
156156
update Phabricator:
157157

158-
- Stop the webserver.
158+
- Stop the webserver (including `php-fpm`, if you use it).
159159
- Run `git pull` in `libphutil/`, `arcanist/` and `phabricator/`.
160160
- Run `phabricator/bin/storage upgrade`.
161-
- Restart the webserver.
161+
- Restart the webserver (and `php-fpm`, if you stopped it earlier).
162162

163163
For more details, see @{article:Configuration Guide}. You can use a script
164164
similar to this one to automate the process:

0 commit comments

Comments
 (0)
Failed to load comments.