Re: Can't change upload_max_filesize [message #183181 is a reply to message #183174] |
Fri, 11 October 2013 17:23 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Denis McMahon wrote:
> On Thu, 10 Oct 2013 17:28:33 -0700, Tobiah wrote:
>> On 10/10/2013 2:26 PM, Denis McMahon wrote:
>>> On Thu, 10 Oct 2013 13:32:49 -0700, Tobiah wrote:
>>>> That's a great idea, but it seems that I was editing the correct file:
>>> Are you restarting the apache server after saving the edited php.ini?
>> Yes, I'm restarting apache, but thanks for that. I even do a full stop
>> then start just to be sure ;)
>
> cd /etc
>
> sudo grep -R upload_max_filesize *
sudo grep --color -Irwe upload_max_filesize /etc/
is infinitely more useful. But it will only help if the configuration files
are located in or below that directory (this need not be the case for
example on an Amazon server), and if no .htaccess or .user.ini in any
directory in and below the DOCUMENT_ROOT, and no PHP source file that is
used when accessing the Web site, interferes.
In general, phpinfo() shows *all* relevant files (short of PHP source
files), so there is hardly a need for a recursive fulltext search.
<http://php.net/manual/en/configuration.php> pp. (AISB)
That said, I prefer ack(1) for recursive text search instead. It is
tailored to configuration and source files which is why it is a lot faster
than grep(1).
PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
|
|
|