Hi, that's mine thread there :) a little update:
you can pass some php variables from command line when php-cgi are calling, e.g. - /usr/bin/php-cgi -b 127.0.0.1:49000 -c /etc/php/php-vhost.ini -d display_errors=on -d display_startup_errors=on -d error_reporting=2047 and 2nd one: /usr/bin/php-cgi -b 127.0.0.1:49001 -c /etc/php/php-vhost.ini -d file_uploads=on -d upload_max_filesize=2000M -d post_max_size=2000M and 3rd, etc.. Regards, 2010/2/28 Juan J. <[email protected]> > The same question pop up this week in the list: > > > http://lists.octality.com/pipermail/cherokee/2010-February/thread.html#12279 > > Cheers! > > Juanjo > > PS: you can search in the list in > http://groups.google.com/group/cherokee-http > > El dom, 28-02-2010 a las 21:49 +0100, Michiel van Es escribió: > > Hi, > > > > I want to allow for 1 virtual host only some specific php settings > > therfor I used .htaccess with Apache. > > How can I establish this with Cherokee? > > > > The settings are the following: > > > > php_value file_uploads "On" > > php_value upload_max_filesize "2000M" > > php_value post_max_size "2000M" > > > > [28/02/2010 21:34:48.358] (error) handler_fcgi.c:118 - PHP Warning: > > POST Content-Length of 207741560 bytes exceeds the limit of 29360128 > > bytes in Unknown on line 0 > > > > It would be nice to set this just for one host and not system wide for > > alle PHP hosts through php.ini. > > > > Kind Regards, > > > > Michiel > > _______________________________________________ > > Cherokee mailing list > > [email protected] > > http://lists.octality.com/listinfo/cherokee > > -- > jjm's home: http://www.usebox.net/jjm/ > blackshell: http://blackshell.usebox.net/ > ramble on: http://rambleon.usebox.net/ > > > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > -- Serg Smirnov email/xmpp: [email protected]
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
