forked from ostinelli/bisbino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
48 lines (32 loc) · 1.55 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
==========================================================================================================
BISBINO - An Erlang HTTP server with FastCGI as backend.
<http://github.com/ostinelli/bisbino/>
FOREWORD
==========================================================================================================
This is a first development release of a HTTP server serving pages with a FastCGI backend. Early stage,
documentation will soon follow.
Just to get you started:
1. Install a FastCGI backend, such as php-fpm <http://php-fpm.org/>. On a UBUNTU 10.04 LTS box, the only
thing you'll need to do is to issue the commands:
. add repository
sudo add-apt-repository ppa:brianmercer/php
. install php and dependencies
sudo apt-get install php5-cli php5-common php5-suhosin python-software-properties php5-fpm php5-cgi
. start php5-fpm
sudo service php5-fpm start
2. Configure your host: open the sites/default.vhost file and set the appropriate absolute path to your
files in the parameters:
{static_files_document_root, "** YOUR HTDOCS DIRECTORY HERE **"}.
{fastcgi_servers, [
{"localhost", [
*SNIP*
{document_root, "** YOUR HTDOCS DIRECTORY HERE **"},
*SNIP*
]}
]}.
3. Start bisbino. In an Erlang shell, type
1> application:start(bisbino).
4. Point your browser to: http://localhost:8080. You should see a phpinfo() page printed out.
CHANGELOG
==========================================================================================================
0.1-dev: - initial release.