Changes between Version 18 and Version 19 of Linux/InstallOpt

Show
Ignore:
Timestamp:
11/01/09 14:04:54 (10 months ago)
Author:
rdnzl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Linux/InstallOpt

    v18 v19  
    3737 
    3838 
    39 == Apache == 
     39== Apache install == 
    4040 
    4141If you want to use the web client module, you have to run Apache with the php5 and xmlrpc modules. 
    4242Please be aware of the security risks you take, the software is not fully tested. 
     43You can also use lighttpd see below, not tested the security/user auth part, but xmlrpc ajax runs ok. 
    4344 
    4445Install Apache2, PHP and XMLRPC support: 
     
    9394{{{ 
    9495$ sudo /etc/init.d/apache2 restart 
     96}}} 
     97 
     98== lighttpd install == 
     99 
     100Install base part. 
     101{{{ 
     102$ sudo aptitude install lighttpd 
     103}}} 
     104 
     105Install PHP modules. 
     106{{{ 
     107$ sudo aptitude install php5-cgi php5-mysql php5-xmlrpc 
     108}}} 
     109To enable PHP5 in Lighttpd, we must modify /etc/php5/cgi/php.ini and add the line cgi.fix_pathinfo = 1 right at the end of the file: 
     110{{{ 
     111$ sudo vi /etc/php5/cgi/php.ini 
     112 
     113cgi.fix_pathinfo = 1 
     114}}} 
     115 
     116To enable the fastcgi configuration (which is stored in /etc/lighttpd/conf-available/10-fastcgi.conf), run the following command: 
     117{{{ 
     118$ sudo lighttpd-enable-mod fastcgi 
     119}}} 
     120This creates a symlink /etc/lighttpd/conf-enabled/10-fastcgi.conf which points to /etc/lighttpd/conf-available/10-fastcgi.conf 
     121 
     122Then reload Lighttpd: 
     123 
     124{{{ 
     125$ sudo /etc/init.d/lighttpd force-reload 
    95126}}} 
    96127