Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #52 (closed improvement: worksforme)

Opened 10 years ago

Last modified 7 years ago

Can't install on lighttp

Reported by: proboszcz Owned by:
Priority: minor Milestone: 2.4
Component: installation Version:
Keywords: install, lightthd, redirect, setup Cc:


Trying to install using lighttpd and not apache.
1) Understand why the doc specifies path like cake/phtagr when the install puts cake under phtagr (ie. phtagr/cake)
2) Find any file in the latest distribution called setup (.php) to do the setup

Ted Proboszcz

Change History

comment:1 Changed 10 years ago by sebastian

  • Summary changed from Can't install to Can't install on lighttp

Thank you for trying phTagr!

To 1) Apologize if HowToInstall is not clear. I updated the section Download cakePHP and phTagr. At the end your files should be organized as following:

/document_root <-- Mostly called 'cake'. E.g. /var/www/cake or ~/.public_html/cake
    /cake   <-- CakePHP framework
    /app    <-- Default name for the application, in this case it contains phtagr
    /phtagr <-- Alternative application's name. Requires modifications in .htaccess

See and So cake/phtagr is document_root/phtagr.

To 2) I haven't tested phtagr with lighttpd yet. But in principle it should work and there should be some pages of cakePHP running with lighttpd:

The "setup problem" is that "setup" is a redirection problem. Therefore, your redirection does not work probably. However, cake should also work without redirection (which I have not tested yet). See

Thank you very much for your report and I'm looking forward to see any success running phTagr with lighttpd! If you are able to run phTagr with lighttpd please let me know your howto to publish it on this wiki.

comment:2 follow-up: ↓ 3 Changed 10 years ago by sebastian

  • Keywords install, lightthd, redirect, setup added
  • Component changed from unspecified to installation

comment:3 in reply to: ↑ 2 Changed 8 years ago by vodmat


I am trying to install phtagr with lighttpd and can't make it work too. The virtual host root is as:


... config index.php tmp users

`-- webroot

I added to lighttpd.conf the following:

$HTTPhost? == "some of my dns name" {

server.document-root = "/var/www/phtagr"
cgi.assign = ( ".php" => "/usr/bin/php-cgi" )
url.rewrite-once = (

"/(css|files|img|js|stats)/(.*)$" => "/$1/$2",
/(.*)$" => "/index.php?url=$1",



The welcome setup page is available (with all css etc...) but the next page ("continue") ends to a 500 error. Any idea ? Any reference pointer for installing tagphr with lighttpd ?

Thanks in advance for any help.

comment:4 Changed 8 years ago by sebastian

Please try following configuration

$HTTP["host"] =~ "some of your dns name" {
        server.document-root = "/var/www/phtagr/webroot"
        url.rewrite = (
                "(css|files|img|js)/(.*)" => "/$1/$2",
                "^([^\?]*)(\?(.+))?$" => "/index.php?url=$1&$3",

Further you might set debug level to 2 (in config/core.php) for more details or have a look at tmp/log/*.log files for error messages.

Please report further problems or success.


comment:5 Changed 8 years ago by sebastian

  • Milestone set to 2.4

comment:6 Changed 7 years ago by sebastian

  • Status changed from new to closed
  • Resolution set to worksforme

Closed due inactivity

Note: See TracTickets for help on using tickets.