mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
[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: https://secure.phabricator.com/D3479
This commit is contained in:
parent
3d6f3e1014
commit
26d62ee450
1 changed files with 3 additions and 0 deletions
|
@ -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" ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue