Installation Instructions
lancepioch edited this page Dec 16, 2014
·
3 revisions
This project comes with a .htaccess file and there isn't any additional setup beyond setting up your virtual host to point to this directory.
In your Apache's conf/httpd.conf
file, make sure you have your virtual hosts configuration file enabled (it's disabled by default):
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
Then in your conf/extra/httpd-vhosts.conf
file, insert this:
<VirtualHost *:80>
DocumentRoot "/home/user/92five.example.com"
ServerName 92five.example.com
</VirtualHost>
Here's an example server configuration block:
server {
listen 80;
server_name 92five.example.com;
root /home/user/92five.example.com;
index index.html index.htm index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/92five.example.com-error.log error;
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
Simply replace the 92five.example.com with the domain you're using.
git clone https://github.com/chintanbanugaria/92five
composer install