NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BaJohn
Jan 28, 2016Virtuoso
WordPress - The uploaded file exceeds the upload_max_filesize directive in php.ini.
When using WordPress to 'upload' a theme from my PC the message comes up.
"The uploaded file exceeds the upload_max_filesize directive in php.ini."
That seems a sensible message as the limit is 2MB and my file is over 5MBs.
The current (if exists) PHP.INI file needs editing or creating as appropriate.
There does not appear to be any posts in this forum about it, although there are some on the Internet.
I believe that the correct place for the PHP.INI file is /apps/wordpress/web/wp-content/wp-admin,
BUT before I play around with this, it would be good to know if this is the correct place, and
that it is normal for the file NOT to exist by default.
I have seen at least 4 places suggested as 'the home' for this file, so need guidance.
I already have another post open about getting FTP to work for WordPress, and yes I
would like both the FTP to work and the upload functionality.
I think it only sensible to redirect this post to an existing post which is already in existence.
Hope this works.
See more on this topic at
I will close this post with this redirect as a solution.
2 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
The file might also be in \etc\apache2\php so maybe look there also with ssh.
- BaJohnVirtuoso
I think it only sensible to redirect this post to an existing post which is already in existence.
Hope this works.
See more on this topic at
I will close this post with this redirect as a solution.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!