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

Mailing List Archive: Cherokee: users

PHP Setup

 

 

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


kmccullum at socal

Jul 18, 2003, 4:12 AM

Post #1 of 5 (307 views)
Permalink
PHP Setup

I've got a setup question for the list. I have Cherokee running on a FreeBSD
5.1 machine and I have installed PHP4. I can run the PHP program with a
sample test page just fine and I get the expected results. But when I ask for
the page from Chrokee I simply get the HTML from the page with no PHP
interpatation.

Having little documentation to work with I'm wondering if there is a quick way
to set this up. I'm sure it's something simple but I'm stuck.

Kurt McCullum


pablo at eurodev

Jul 18, 2003, 7:42 AM

Post #2 of 5 (300 views)
Permalink
PHP Setup [In reply to]

Hi Kurt,

Kurt D. McCullum wrote:

>I've got a setup question for the list. I have Cherokee running on a FreeBSD
>5.1 machine and I have installed PHP4. I can run the PHP program with a
>sample test page just fine and I get the expected results. But when I ask for
>the page from Chrokee I simply get the HTML from the page with no PHP
>interpatation.
>
>Having little documentation to work with I'm wondering if there is a quick way
>to set this up. I'm sure it's something simple but I'm stuck.
>
Cherokee doesn't support php at the moment. :-(.

If you have a look at handler_php.c you'll realize that it's a empty
file. Ayose (one of the member of the team) is working on this stuff (a
handler for python and php), so you'll have to wait for quite some time
after seeing cherokee "eating" php matters.

Cheers,
Pablo


thomas-lists at myphorum

Jul 18, 2003, 3:56 PM

Post #3 of 5 (301 views)
Permalink
PHP Setup [In reply to]

Quoting pablo neira <pablo [at] eurodev>:

> Cherokee doesn't support php at the moment. :-(.
>
> If you have a look at handler_php.c you'll realize that it's a empty
> file. Ayose (one of the member of the team) is working on this stuff (a
> handler for python and php), so you'll have to wait for quite some time
> after seeing cherokee "eating" php matters.

For the time being, how about a generic CGI-Interface which
could be used for a lot of languages, not only PHP?

It would help even when the handlers are not yet available.


Thomas


alvaro at alobbs

Jul 19, 2003, 8:24 AM

Post #4 of 5 (311 views)
Permalink
PHP Setup [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 18 July 2003 16:48, thomas-lists [at] myphorum wrote:

> > Cherokee doesn't support php at the moment. :-(.
> >
> > If you have a look at handler_php.c you'll realize that it's a empty
> > file. Ayose (one of the member of the team) is working on this stuff (a
> > handler for python and php), so you'll have to wait for quite some time
> > after seeing cherokee "eating" php matters.
>
> For the time being, how about a generic CGI-Interface which
> could be used for a lot of languages, not only PHP?
>
> It would help even when the handlers are not yet available.

Well, at first moment, I thought that the CGI was a deprecated technology.
Now, I'm thinking about it again cuz I made a mistake. There're still useful
software based in CGIs (eg: Bugzilla) and Cherokee should support it.
- - Anyway, IMO it's much more important the PHP handler -

Is there some volunteer to work arround the CGI support? ;-)

- --
Greetings, alo.
http://www.alobbs.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/GOYnVRSCNxlNnu0RAsN5AKDFS271l7kI0XQPnWqjzp/bq5l+GgCfWPIx
+9joLXE1uX8MkYxxJ2nd92Q=
=VGfL
-----END PGP SIGNATURE-----


setepo at gulic

Jul 19, 2003, 2:26 PM

Post #5 of 5 (300 views)
Permalink
PHP Setup [In reply to]

On Sat, Jul 19, 2003 at 08:33:03AM +0200, Alvaro Lopez Ortega wrote:
> [...]
> Is there some volunteer to work arround the CGI support? ;-)
>

Yeaaaaaaaaaaaaaahhhhh :-))...

Yesterday, when I saw the message of Thomas, I started with it.

I have a CGI handler that "seems" to work well. I'm doing a lot of tests
and finding little bugs. I will send it when I can see that it works
well in most situations :-)

Anyway, the handler is limited because of the limitations of Cherokee
API: I can't get the request headers, get the raw request, read the
global config, etc etc. Perhaps some of this things can be done, but I
can't find the way to do it.

I have done a few modifications in the core in order to be able to run
CGIs: I have added a member "query_string" to the cherokee_connection_t
and fix a little bug in cherokee_connection_send.



--
Ayose Cazorla Le?n
Debian GNU/Linux - setepo

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.