Do you have cPanel with your hosting package?
Not sure – will check & get back to you.
Thanks for the prompt reply.
R
The server I use has something called “Helm”, which is effectively the Control panel, I guess ?
I can set things like billing and adding additional products like more space etc..
R
The Control panel does allow me access to a file manager which shows all the files on the server for the WP site.
R
Ah I see … cPanel has a section where you can control PHP and set it to use your own php.ini.
You might try declaring those parameters in the wp-config.php.
i.e. : edit the wp-config file itself ?
I can do this either via FTP or the Control panel, right ?
R
I can’t see anything which allows me to control PHP, just the file directory structure and the same files I can see using FTP.
Removing “5” from the php.ini file causes WordPress to display a blank page instead of the Dashboard, reinstating it i.e. : “php5.ini”, brings back the dashboard, so I know its doing something.
However, the settings I mentioned in my initial post seem to override anything I’m doing from with cPanel.
R
The php info should show you the path to the config file. You seem to have access to the ini file. Does it have these parameters in it?
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
The server shows that it’s on a C drive (Windows NT) – “C\php5\php.ini” but I don’t seem to be able to have direct access to this file.
As I mentioned, it contains all these values along with a lot of other parameters.
I guess its a shared server with limited access to the php.ini.
R
Where did you find the php5.ini file? Does it contain a complete php.ini code?
The first post you said it was set to
Max file upload size : 12800M,
That’s kind of weird isn’t it ..it should be 8M or 10M etc.
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
Morning,
Very weird – it seems like a huge figure.
My server admin came back to me yesterday and have said that they can move my entire site to a server which uses cPanel – the current server doesn’t actually use cPanel per se, so I have no means of accessing the PHP file – placing my own php.ini / php5.ini file within WP admin folder makes no difference to the settings, or placing it anywhere else, for that matter, e.g. the root folder – I have tried.
I also tried a couple of WP plugins, which promise to “Increase Maximum Upload Size”, but neither of these made any difference either.
Hopefully being able to use cPanel will allow me to makes changes myself, without recourse to the server admin, since that is taking a long time.
BTW – I was never able to access the PHP file itself – it’s not visible anywhere, in any folder in the site directories.
I used a bit of code in a document named “info.php”, which allows you to view the site details from within an internet browser – this is where it showed that the “max file upload size” was 12800M, along with the memory limit and max post size.
In cPanel there is a menu icon for PHP where you can, depending on the server set-up, pick different versions of PHP eg. 5.2 / 5.4 to run and choose to use your own php.ini or use the systems one.
Good luck!