[prev in list] [next in list] [prev in thread] [next in thread]
List: cherokee
Subject: Re: [Cherokee] Red Hat/CentOS and Cherokee and PHP
From: Michiel van Es <mve () pcintelligence ! nl>
Date: 2010-02-25 18:30:40
Message-ID: 4B86C1D0.9040103 () pcintelligence ! nl
[Download RAW message or body]
Hi Serg,
Sorry for my topic hijack, both 'issues' are solved.
I don't have to ad a local interperter as the wizard works fine.
Thanks for your help.
Kind regards,
Michiel
On 2/25/10 5:52 PM, Serg Smirnoff wrote:
> Off!
>
> Are we talking about php or ssl?!
>
> On Thu, Feb 25, 2010 at 7:17 PM, Michiel van Es <mve@pcintelligence.nl
> <mailto:mve@pcintelligence.nl>> wrote:
>
> Hi Serg,
>
> Whenever I enable the TLS/OpenSSL optionm for TLS and I restart the
> cherokee webserver I still get:
>
> Cherokee Web Server 0.99.39 (Dec 29 2009): Listening on port ALL:80, TLS
> disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
>
> Still TLS is disabled..I don't know why..
>
>
> -------- Original Message --------
> Subject: Re: [Cherokee] Red Hat/CentOS and Cherokee and PHP
> From: Serg Smirnoff <sergey.a.smirnov@gmail.com
> <mailto:sergey.a.smirnov@gmail.com>>
> To: Michiel van Es <mve@pcintelligence.nl
> <mailto:mve@pcintelligence.nl>>
> Date: 02/25/2010 05:03 PM
>
> Hi Michael,
>
> I did it many times under CentOS and I can say that it works
> pretty good
> "out of the box".
>
> First of all, you must have the *php-cli* installed. I use remi or
> centalt repo with the latest php rpms (5.3).
>
> For handling PHP scripts you need to (it's only just a one of the
> possible configurations) do next steps:
>
> 1. Add the "Information Sources" -
>
> Type: Local Interpreter
> Nick: PHP-CGI
> Connection: 127.0.0.1:9000 <http://127.0.0.1:9000>
> <http://127.0.0.1:9000>
> Interpreter: /usr/bin/php-cgi -b 127.0.0.1:9000
> <http://127.0.0.1:9000> <http://127.0.0.1:9000>
>
>
> 2. Inside "Virtual Server" menu select your virtual server, then
> go to
> "Behavior" tab and run the Wizard:
>
> Category -> Language -> PHP
>
> Then you can see on the "Behavior" tab the target "php".
>
> 3. Open it and check "Information Sources" on the "Handler" tab.
> There's
> must be a PHP-CGI, created on step 1.
>
> Edit the "Extension" on the "Rule" tab if you want to handle not
> only
> the* .php* files.
>
> 4. Save all this changes and perform a hard restart.
>
> Ok, it's time to check it now. Create a simple script with <?php
> phpinfo(); ?> inside and call it from the browser.
>
> If everythings is ok you will see big output and -
>
> /usr/bin/php-cgi -b 127.0.0.1:9000 <http://127.0.0.1:9000>
> <http://127.0.0.1:9000>
>
>
> proccess in the 'ps ax' output.
>
> Done!
>
> (Inspired by the Cookbook: Setting up PHP) :-)
>
> P.S. don't play with the sources in RH based distros or you'll
> get the
> unmanaged system. ;-)
> Or create your own rpms (simple with checkinstall maybe)..
>
> On Thu, Feb 25, 2010 at 5:36 PM, Michiel van Es
> <mve@pcintelligence.nl <mailto:mve@pcintelligence.nl>
> <mailto:mve@pcintelligence.nl <mailto:mve@pcintelligence.nl>>>
> wrote:
>
> Hmm also with the clean install it still does not auto
> supply me the PHP
> option in the Wizard. :(
> So I think I have to add it manually.
>
> Regards,
>
> Michiel
>
> -------- Original Message --------
> Subject: Re: [Cherokee] Red Hat/CentOS and Cherokee and PHP
> From: Taher Shihadeh <taher@unixwars.com
> <mailto:taher@unixwars.com> <mailto:taher@unixwars.com
> <mailto:taher@unixwars.com>>>
> To: Michiel van Es <mve@pcintelligence.nl
> <mailto:mve@pcintelligence.nl>
> <mailto:mve@pcintelligence.nl <mailto:mve@pcintelligence.nl>>>
> Date: 02/25/2010 01:48 PM
>
> > Hi again!
> >>
> >> I am using the wizard.
> >> php-cgi is in my path:
> >> [root@pcintelw01 scripts]# which php-cgi
> >> /usr/bin/php-cgi
> >>
> > That *IS* strange. That path is at the top of the wizard's search
> list:
> >
> > '/usr/bin',
> > '/opt/php',
> > '/usr/php/bin',
> > '/usr/sfw/bin',
> > '/usr/gnu/bin',
> > '/usr/local/bin',
> > '/opt/local/bin',
> > '/usr/pkg/libexec/cgi-bin'
> >
> > Does the manual process work for you? (in which case there is
> obviously
> > something strange going on with the wizard)
> >
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com <mailto:Cherokee@lists.octality.com>
> <mailto:Cherokee@lists.octality.com
> <mailto:Cherokee@lists.octality.com>>
>
> http://lists.octality.com/listinfo/cherokee
>
>
>
>
> --
> Serg Smirnov
> email/xmpp: Sergey.A.Smirnov@Gmail.com
>
> Jonathan Swift
> <http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> -
>
> "May you live every day of your life."
>
>
>
>
> --
> Serg Smirnov
> email/xmpp: Sergey.A.Smirnov@Gmail.com
>
> Samuel Goldwyn
> <http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> -
> "I'm willing to admit that I may not always be right, but I am never
> wrong."
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic