2018-11-09 12:47:31

Hi all,

So I tried to host a wordpress site on my VPS on Digital Oceans. Wordpress setup works find, however after the setup complete, and I tried to upload the theme to my site, and wordpress didn't accept my file. ITs says something that the file upload had reach the maximum upload directive in php.ini file. However I couldn't find the php.ini file in my wordpress installation directory in /var/www/html.

Could anyone help me with this?

Thanks.

2018-11-10 10:06:48 (edited by hamada 2018-11-10 10:08:06)

This problem is related to your php configuration and it has nothing to do with wordpress.
To change the limit on how much you can upload in php, you gotta edit the php.ini file, usually you can find it under:
"/etc/php/phpVer like 7.2/apache2/php.ini", change the value of upload_mmax_filesize and post_max_size to the size you want; if I remember correctly, it is set to 2 mb by default.
If you can't find the file in the given path above, try runing the following command:
"php -i | grep "Loaded Configuration File"".
Note: restart your apache server to apply the changes: "systemctl restart apache2".
greetings.

2018-11-11 03:13:17

Thing is, I've looked around the file, but I can't seems to find the upload_max_filesize sintax. Am I missing something?

2018-11-11 12:02:46

Hey, there is a wordpress plugin that can do the trick.

2018-11-11 12:03:03

Hey, there is a wordpress plugin that can do the trick.

2018-11-11 13:03:10

Current books I would recommend are Vox by Christina Dalcher and Sometimes I lie by Alice Feeney.
Wild books.
Vox would definitely inspire a person to go vote!
A

2018-11-11 15:04:01

@6, um, did you read the topic carefully? Am I asking for a book recommendation? I don't think so.

2018-11-11 17:01:39

Moderation:

Imaginingstuff, this is a caution. You're not in any trouble and I'm not going to chase you, but this is definitely the wrong thread for this particular post. I don't know if maybe you posted by mistake, or if you've done this on purpose. Whatever the case, please be a little bit more careful in the future.

Check out my Manamon text walkthrough at the following link:
https://www.dropbox.com/s/z8ls3rc3f4mkb … n.txt?dl=1