How To Edit php.ini File IN Google Cloud

Share Now

1. Go to your project in google cloud platform
2. Then go to Computer Engine-> VM instances -> project name
3. Then Click On SSH
4. It will open in this window
5. Now write these code:
Find php.ini file

sudo find / -name "php.ini"

6. It will show these datas


7. Copy this one:


8. Now write

sudo -i

9. and then

nano /etc/php/7.0/apache2/php.ini

10. It will open the php.ini file
11. Edit these datas:

upload_max_filesize = 256M
post_max_size = 256M
memory_limit = 256M

12. For search in SSH Use: Ctrl+W
For save in SSH Use: Ctrl+O
For exit in SSH Use: Ctrl+X

Video: Watch Now

Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert