Browse files

[Ubuntu Install Script] Automatically enable mod_rewrite

Summary: I needed to figure out how to do this, and it took a couple of minutes.

Test Plan: ran that command on my Ubuntu 12.04 system

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision:
  • Loading branch information...
snarkmaster committed Sep 10, 2012
1 parent 3d6f3e1 commit 26d62ee45018555d404959333c11755ed587d4ea
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/install/
@@ -45,6 +45,9 @@ set +x
sudo apt-get -qq update
sudo apt-get install $GIT mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli dpkg-dev
+# Enable mod_rewrite
+sudo a2enmod rewrite
HAVEPCNTL=`php -r "echo extension_loaded('pcntl');"`
if [ $HAVEPCNTL != "1" ]

0 comments on commit 26d62ee

Please sign in to comment.