Hello!
In fact, I didn’t know about the Linux as well. But I just know that VPS HOSTING is better than web-sharing hosting.
So i chose yours for my web site in wordpress and I bought one wordpress theme that is about 10M. and i tried to apply the theme… but I see the message below from wordpress
“The uploaded file exceeds the upload_max_filesize directive in php.ini.”
I read many – possibly dozens – of posts on wordpress.org and other sites about this problem. They suggest me that i have to increase my WP upload file size to 32MB with correting php.ini file. Someone change it as the following text :
max_execution_time = 90
max_input_time = 300
memory_limit = 64M
post_max_size = 32M
upload_max_filesize = 32M
My question is so simple!
How can I modify the “php.ini” Can this modification resolve my uploading problem?
I can’t even see the where is server and files for my website. Please help me, considering that I don’t about Linux well!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
vim /etc/php5/apache2/php.ini or if you’re using nginx (which I doubt) vim /etc/php5/fpm/php.ini
hit / to search, enter upload_max_filesize and Enter. Get the pointer to the corresponding value that’s set there and hit i. Delete/Backspace away the value and change it to what you want it to be. Then hit Escape. Begin with search until you’ve properly edited the file.
Then hit :wq! which saves the file.
You may wanna service apache2 restart (or nginx depending on which webserver you run).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.