DigitalOcean : The uploaded file exceeds the upload_max_filesize directive in php.ini.

February 6, 2019|

While Uploading Themes or Plugins in DigitalOcean Droplet, You might get this kind of notice/ issue. To solve this you need change the value of “upload_max_filesize” directive in your php.ini file. So where is php.ini file?? I follow your link and I fix it! Thanks because It work for me. Here is my way: using terminal (cmd) and connect to your server via ssh code type cd \ to go root folder type sudo nano /etc/php5/apache2/php.ini add after php.ini file upload_max_filesize = 32M post_max_size = 32M => save your php.ini file type : sudo service apache2 restart After the instruction – go to your WP-admin and Bingo 🙂      

DigitalOcean : Apache WrodPress Could not remove the old Plugin / Themes Issues

January 26, 2019|

I tried to update the themes and plugins in latest WorddPress 5.0 Gutenberg in DigitalOcean  with Linux 18.XX with Apache . Before I install new plugin and Themes I tried to delete them. But WordPress was unable to processed. I researched and found that its ownership issue. The solve / fix this issue you need to perform following command in your command shell ( putty for Windows 10 in my case ).   chown -Rf www-data.www-data /var/www/html/ chown -Rf www-data.www-data /var/www/ If that doesn’t work, alternatively you can try this command: chown -R apache:apache /var/www/ Replace “/var/www/” with the path to where you actually have installed WordPress.