Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Can't get php to work

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


krtanjekdino at gmail

Jul 9, 2009, 4:05 AM

Post #1 of 5 (1205 views)
Permalink
Can't get php to work

Hi. I just installed cherokee to try it out as a webserver candidate
for a project I'm working on. So far it look's great. I like the
administration and the server seems to be pretty powerful. So far so
good. But I can't get the damn php to work with FastCGI. I'm using
arch linux. Installed fcgi and php 5.3.10 is also working. php-cgi -v
returns the needed (cgi-fcgi) described in the docs
(http://www.cherokee-project.com/doc/cookbook_php.html). I know that i
hav to make a new information source for php. The problem is that I
dont know how to set the Connection field, becuse I can't find any
socket file in my /tmp. Where should I look? Do I need to firs start
some daemon? To what should I set the Interpreter field? I tryed to
set it to the full path of php-cgi, but then nothing happens. Can
anyone help?
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


alvaro at octality

Jul 9, 2009, 4:17 AM

Post #2 of 5 (1177 views)
Permalink
Re: Can't get php to work [In reply to]

Hello Dino,

On 09-jul-09, at 13:05, Dino Krtanjek wrote:

> Hi. I just installed cherokee to try it out as a webserver candidate
> for a project I'm working on. So far it look's great. I like the
> administration and the server seems to be pretty powerful. So far so
> good. But I can't get the damn php to work with FastCGI. I'm using
> arch linux. Installed fcgi and php 5.3.10 is also working. php-cgi -v
> returns the needed (cgi-fcgi) described in the docs
> (http://www.cherokee-project.com/doc/cookbook_php.html). I know that i
> hav to make a new information source for php. The problem is that I
> dont know how to set the Connection field, becuse I can't find any
> socket file in my /tmp. Where should I look? Do I need to firs start
> some daemon? To what should I set the Interpreter field? I tryed to
> set it to the full path of php-cgi, but then nothing happens. Can
> anyone help?


There's a Wizard that does all the work for you. It's located right
behind the Behavior rule list of each Virtual Server.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


krtanjekdino at gmail

Jul 9, 2009, 4:48 AM

Post #3 of 5 (1175 views)
Permalink
Re: Can't get php to work [In reply to]

Wow...ok...nice. It works now. Thanks.

So the Information Sources needs to be /path/to/php-cgi -b
/tmp/cherokee-php.socket, and then you set /tmp/cherokee-php.socket as
the conntection. Just if someon has the same problem.

Do I need the fcgi package anyway?

On Thu, Jul 9, 2009 at 1:17 PM, Alvaro Lopez Ortega<alvaro [at] octality> wrote:
> Hello Dino,
>
> On 09-jul-09, at 13:05, Dino Krtanjek wrote:
>
>> Hi. I just installed cherokee to try it out as a webserver candidate
>> for a project I'm working on. So far it look's great. I like the
>> administration and the server seems to be pretty powerful. So far so
>> good. But I can't get the damn php to work with FastCGI. I'm using
>> arch linux. Installed fcgi and php 5.3.10 is also working. php-cgi -v
>> returns the needed (cgi-fcgi) described in the docs
>> (http://www.cherokee-project.com/doc/cookbook_php.html). I know that i
>> hav to make a new information source for php. The problem is that I
>> dont know how to set the Connection field, becuse I can't find any
>> socket file in my /tmp. Where should I look? Do I need to firs start
>> some daemon? To what should I set the Interpreter field? I tryed to
>> set it to the full path of php-cgi, but then nothing happens. Can
>> anyone help?
>
>
> There's a Wizard that does all the work for you. It's located right behind
> the Behavior rule list of each Virtual Server.
>
> --
> Octality
> http://www.octality.com/
>
>
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


alvaro at octality

Jul 9, 2009, 4:57 AM

Post #4 of 5 (1170 views)
Permalink
Re: Can't get php to work [In reply to]

On 09-jul-09, at 13:48, Dino Krtanjek wrote:

> Wow...ok...nice. It works now. Thanks.

I'm glad to see that wizard are actually useful.

> So the Information Sources needs to be /path/to/php-cgi -b
> /tmp/cherokee-php.socket, and then you set /tmp/cherokee-php.socket as
> the conntection. Just if someon has the same problem.
>
> Do I need the fcgi package anyway?

A package named "fcgi" in you distribution/OS? No, I don't think you do.

> On Thu, Jul 9, 2009 at 1:17 PM, Alvaro Lopez Ortega<alvaro [at] octality
> > wrote:
>> Hello Dino,
>>
>> On 09-jul-09, at 13:05, Dino Krtanjek wrote:
>>
>>> Hi. I just installed cherokee to try it out as a webserver candidate
>>> for a project I'm working on. So far it look's great. I like the
>>> administration and the server seems to be pretty powerful. So far so
>>> good. But I can't get the damn php to work with FastCGI. I'm using
>>> arch linux. Installed fcgi and php 5.3.10 is also working. php-cgi
>>> -v
>>> returns the needed (cgi-fcgi) described in the docs
>>> (http://www.cherokee-project.com/doc/cookbook_php.html). I know
>>> that i
>>> hav to make a new information source for php. The problem is that I
>>> dont know how to set the Connection field, becuse I can't find any
>>> socket file in my /tmp. Where should I look? Do I need to firs start
>>> some daemon? To what should I set the Interpreter field? I tryed to
>>> set it to the full path of php-cgi, but then nothing happens. Can
>>> anyone help?
>>
>> There's a Wizard that does all the work for you. It's located right
>> behind
>> the Behavior rule list of each Virtual Server.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


krtanjekdino at gmail

Jul 9, 2009, 5:28 AM

Post #5 of 5 (1172 views)
Permalink
Re: Can't get php to work [In reply to]

ok...thanks. Great project. I'm impressed.

On Thu, Jul 9, 2009 at 1:57 PM, Alvaro Lopez Ortega<alvaro [at] octality> wrote:
> On 09-jul-09, at 13:48, Dino Krtanjek wrote:
>
>> Wow...ok...nice. It works now. Thanks.
>
> I'm glad to see that wizard are actually useful.
>
>> So the Information Sources needs to be /path/to/php-cgi -b
>> /tmp/cherokee-php.socket, and then you set /tmp/cherokee-php.socket as
>> the conntection. Just if someon has the same problem.
>>
>> Do I need the fcgi package anyway?
>
> A package named "fcgi" in you distribution/OS? No, I don't think you do.
>
>> On Thu, Jul 9, 2009 at 1:17 PM, Alvaro Lopez Ortega<alvaro [at] octality>
>> wrote:
>>>
>>> Hello Dino,
>>>
>>> On 09-jul-09, at 13:05, Dino Krtanjek wrote:
>>>
>>>> Hi. I just installed cherokee to try it out as a webserver candidate
>>>> for a project I'm working on. So far it look's great. I like the
>>>> administration and the server seems to be pretty powerful. So far so
>>>> good. But I can't get the damn php to work with FastCGI. I'm using
>>>> arch linux. Installed fcgi and php 5.3.10 is also working. php-cgi -v
>>>> returns the needed (cgi-fcgi) described in the docs
>>>> (http://www.cherokee-project.com/doc/cookbook_php.html). I know that i
>>>> hav to make a new information source for php. The problem is that I
>>>> dont know how to set the Connection field, becuse I can't find any
>>>> socket file in my /tmp. Where should I look? Do I need to firs start
>>>> some daemon? To what should I set the Interpreter field? I tryed to
>>>> set it to the full path of php-cgi, but then nothing happens. Can
>>>> anyone help?
>>>
>>> There's a Wizard that does all the work for you. It's located right
>>> behind
>>> the Behavior rule list of each Virtual Server.
>
> --
> Octality
> http://www.octality.com/
>
>
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.