I'm running an ubuntu machine and found that PHP-FPM is a lot more robust
and well suited for high traffic sites.

Check out the following install helper:
http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian

This tells you how to setup Nginx with it but just ignore those parts, pay
attention to the PHP install portion. Then startup the cherokee-admin and it
will automagically find the php-cgi.

Hope this helps,
Chad


On Wed, Mar 2, 2011 at 6:28 AM, Ringo Hartmann <[email protected]>wrote:

> > As far as I'm aware of, it was working automatically.
>
> Yes, the Debian PHP packages usually load their extensions out of the
> box.
>
> Please see my earlier mail (that somehow didn't show up on the list) for
> details:
>
>
> > As far as I'm aware, this is something you'll need to do manually. All
> > the php5-mysql package on Debian does is install its files - no extra
> > configuration is done at all.
>
> I'm not sure about Ubuntu but the Debian php5-mysql package usually
> drops files into /etc/php5/conf.d which should take care of loading
> the extensions.
>
> /etc/php5/conf.d/mysql.ini:
> extension=mysql.so
>
> /etc/php5/conf.d/mysqli.ini:
> extension=mysqli.so
>
> /etc/php5/conf.d/pdo_mysql.ini:
> extension=pdo_mysql.so
>
>
> I've never had to do any of those manually on any Debian server.
>
> There should also be a symlink on /etc/php5/cgi/conf.d to
> /etc/php5/conf.d
> that makes sure the conf.d contents are observed by your PHP CGI
> processes.
>
> However, restarting or reloading your PHP CGI processes to catch up
> on conf.d contents might be required.
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to