Re: Can't change upload_max_filesize [message #183188 is a reply to message #183181] |
Fri, 11 October 2013 22:27 |
Fiver
Messages: 35 Registered: July 2013
Karma:
|
Member |
|
|
On 2013-10-11 19:23, Thomas 'PointedEars' Lahn wrote:
> Denis McMahon wrote:
>> cd /etc
>>
>> sudo grep -R upload_max_filesize *
>
> sudo grep --color -Irwe upload_max_filesize /etc/
>
> is infinitely more useful.
Maybe for your personal definition of "useful" (or infinity).
-I
skips all files detected as binary; probably makes no difference in
this case, but might hide information you're looking for
-r
skips symlinked files that the GP would have included with -R;
definitely a bad choice when searching for a mystery config setting
-w
pointless, unless you expect upload_max_filesize to be part of a
longer word
-e
pointless, unless you're using a regex, which you're not
> In general, phpinfo() shows *all* relevant files (short of PHP source
> files), so there is hardly a need for a recursive fulltext search.
That's not true: phpinfo() doesn't show the Apache config files. For
example, with a default Ubuntu setup, there are vhost config files
linked from /etc/apache2/sites-enabled, where PHP config settings can be
made with the "php_value" directive.
regards,
5er
|
|
|