Open php.ini file
# cd /etc
# vi php.ini
![](https://wpsites.net/wp-content/uploads/2011/08/Increase-Memory-Limit.png)
goto “memory_limit” to change from 64M to 512M
Press Esc and type :q then :w to save
Open php.ini file
# cd /etc
# vi php.ini
goto “memory_limit” to change from 64M to 512M
Press Esc and type :q then :w to save