Thanks, that worked!

On Sun, Nov 15, 2015 at 5:56 PM Ricordisamoa <[email protected]>
wrote:

> I made it work assuming "myproject" is the tool's name, e.g.
> "commonshelper" then putting this in /data/project/myproject/php.ini
>
> post_max_size = "16M"
> upload_max_filesize = "4M"
>
> and this in /data/project/myproject/.lighttpd.conf
>
> fastcgi.server += ( ".php" =>
>         ((
>                 "bin-path" => "/usr/bin/php-cgi -c
> /data/project/myproject/php.ini",
>                 "socket" => "/tmp/php.socket.$tool",
>                 "max-procs" => 2,
>                 "bin-environment" => (
>                         "PHP_FCGI_CHILDREN" => "2",
>                         "PHP_FCGI_MAX_REQUESTS" => "500"
>                 ),
>                 "bin-copy-environment" => (
>                         "PATH", "SHELL", "USER"
>                 ),
>                 "broken-scriptfilename" => "enable",
>                 "allow-x-send-file" => "enable"
>          ))
> )
>
> Then webservice2 restart
>
> Perhaps there's a simpler way...
>
>
> Il 14/11/2015 22:07, Magnus Manske ha scritto:
>
> How can I change the upload_max_filesize and post_max_size values (usually
> in php.ini) for a tool (using lighttpd)?
>
>
> _______________________________________________
> Labs-l mailing 
> [email protected]https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
> _______________________________________________
> Labs-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to