login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
December
»
27
Re: Lighttpd + PHP
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Rodrigo Mosconi
Subject:
Re: Lighttpd + PHP
Date: Monday, December 27, 2010 - 5:30 am
2010/12/27 Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
quoted text
> I know there's like a millon threads and questions on the internet on this, > and I've read (most of) them. > I'm trying to run lighttpd chrooted, with PHP. > > I get the dreaded "No input file specified." error over and over. > > Here's the relevant parts of my php.ini: > -- > doc_root = "/sites/main-site/" > cgi.force_redirect = 1 > cgi.fix_pathinfo=1 > -- > > Here's the relevant parts of lighttpd.conf: > (mod_fastcgi is enabled, of course) > -- > server.document-root = "sites/main-site/" > [...] > fastcgi.server = ( ".php" => > ( "localhost" => > ( > "socket" => "/tmp/php-fastcgi.socket", > "bin-path" => > "/usr/local/bin/php-fastcgi" > ) > ) > ) > -- > > I've also tried with > "broken-scriptfilename" => "enable" > and the same problem persisted. > > The PHP file I'm trying to visit exists, and if i try to open > /some-other-file.php, I get a standard 404 error, hence, lighttpd is finding > the file. > > I've copied all the dependencies for php-fastcgi inside the chroot. > The following works fine: > > chroot -u _lighttpd /var/www /usr/local/bin/php-fastcgi > /sites/main-site/info.php > > Hence, php-fastcgi is working properly. > > > Any hints? I've found that no solution online helped, and I was wondering > if anybody is actually running lighttpd+php+chroot on openbsd and can give > me any hints, or maybe a sample of their configs. > > Cheers, thanks! > > -- > Hugo Osvaldo Barrera > >
Did you tryed the "server.chroot=" option ?
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
Lighttpd + PHP
, Hugo Osvaldo Barrera
, (Sun Dec 26, 11:59 pm)
Re: Lighttpd + PHP
, Rodrigo Mosconi
, (Mon Dec 27, 5:30 am)
Re: Lighttpd + PHP
, Hugo Osvaldo Barrera
, (Mon Dec 27, 6:46 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Wink Saville
How-to combine several separate git repos?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
Steven Grimm
Re: Git User's Survey 2007 unfinished summary continued
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
Linux 2.6.26-rc3
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
Colocation donated by:
Syndicate