Back

Apache Installation

This will install apache and php together.
apt-get install apache2 php5 libapache2-mod-php5

Update doc-root and make sure ownership is www-data /etc/apache2/sites-available/default

-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAp5u9e5z3pwQ3kUn4WNp7H2rWr6sAaKzHDHoQPCm6PAyAxeL4
QBuUi8yEE9qRdk1CvNnKOAIlQq7clLTtWTZyMH2wJkP0EojEpA73eHoN1bVNTX3W
0P0F8KZ5RFUY8/4Ea/G4isFHMvPjqmRlcNzDj6YFHnz5Otz0QuFhM9Fq7TOMnvO7
FOgQwuPtvgUMF1oZY6iSIeqXvONYgf6S4odx2if1eaSGo/XUWREuIi8akJRz1E4Q
zVJarQL4c54e8s2PHgzKq/Z7Cl0aQLe/wWAuVxv4NK84BbfV90UpJTR1c0ZNLJjS
z673V+jrfeLUPfKn6nFlQ0k3LzcOX5XSkuIu6QIDAQABAoIBAHfAJhlzhN2nfawo
lW+maeGAi/Lm0lv3Vh/r9j2F8rGEnVzFVWk4S2G2tYcZ2mQTv2L+mCR8I/MIzEDT
I+FhrSRIKNquImw7m4M7zkQdsFTIPHrpNdoLbXsK9gmEY1ewXahiA9/fR+d3qWnM
YU3J7U9s5qtpzwfnZf2C2dgT/7mIupUgtTautRxkX8GxU/V0StSYUv1RHGzKFNte
M2LZFA8DtlYtmYRat/dX8Xva/LeOLT1Iq4cSaOe9d0KB0rZku8n2ItGXVcJh1dGz
Xpni0Xet5W63EPDJNsQBmyeCSXCWL9rVV98t4i1KZUBoLXZefDza1GJ75x6WZym8
VlVvOIECgYEA3Hn8jcV8bW+j7D7mHF/xjrUXGV/aS8thAou0TE9elU8QQPsrfxgX
DSqRT/H5wZnmRiBYKDGnqvCVxe1bbZVxu1mBymfaJKhV9gyDAmS/BKrf9hqMMnNk
SvRraJzlNyOb/6+il+BPeHssVh/F6m0myuVvAKZW1SHdiPzprfT9g4UCgYEAwp0Y
tiB3xsesUqQ/qlqukKtQepujmPpaOAPrdTziJIk2jhTd+qIFuae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