Getting error is fresh google cloud wordpress install

I installed WordPress on the google cloud, installed fine.

Can login to it via http://146.148.119.58/wp-login.php

Read More

The problem is when I try to install a theme or a plugin that exceeds 2MB it gives the error:
The uploaded file exceeds the upload_max_filesize directive in php.ini.

I SSH to the MC and searched for php.ini… found it in two places, edited both… both php.ini didnt have an entry for it before.

I added to the php.ini:
; File Uploads
upload_max_filesize = 32M
post_max_filesize = 32M

I rebooted the server twice and still I get the same error, whenever trying to upload anything larger than 2MB.

Can someone please help? I am on the bronze support package, which means I dont get to speak to someone… really need to overcome this issue.

Another reason is that I want to install Virtual Composer plugin, to have additional functionality when working with my WordPress pages.

Its really furstrating, such a small thing and it is stopping what needs to be done. Any assistance will be appreciated.

Thanks
josh folgado

PS. My email is me@joshfolgado.com

Related posts

1 comment

  1. add this to your .htaccess

    <IfModule mod_php5.c>
    php_value post_max_size 32M
    php_value upload_max_filesize 64M
    php_value memory_limit 512M
    </IfModule>

Comments are closed.