[Blackpool] PHP/ WP question
James Page
jmsp.1983 at gmail.com
Fri Jul 12 14:51:15 UTC 2013
Thanks all,
The post_max_size entry had an 8M value, which should be accommodating the
4MB file I'm having probs with.
That said, Arran's point uncovered something interesting that I've never
seen before - a php.ini file in each home directory ( ~/etc/php5/php.ini).
Using phpinfo, it told me that the *loaded config file* was from that
location (presumably the *config file* mentioned is what these home
directory php.ini files are derived from?). It's just clicked that the PHP
settings I've edited for each virtual server in Webmin should presumably be
editing this home directory file. I've made changes to these values in
Webmin, with no effect.
Anyway, I have checked those home directory values in the php.ini files
themselves and, lo and behold, the values are unchanged, so I've now
changed them - result? I can now upload the files! So changing the settings
via Webmin doesn't appear to work...
Getting there, slowly... Thanks Arran!
J
On 12 July 2013 15:23, Arran Gallagher <arrangallagher at gmail.com> wrote:
> Hi James,
>
> When I want to check php.ini values what I usually do is create a test
> page and call the phpinfo() function. That way you can see which php.ini is
> been read, as there are multiple locations PHP checks for php.ini.
>
> Also you might want to check the web server configuration, for instance, I
> know that Nginx has its own upload limit setting somewhere. Can't quite
> remember if Apache has something similar.
>
> Arran
>
More information about the Blackpool
mailing list