How can I update PHP settings (e.g. memory_limit)?


#1

Guys I tried to restart apache but don’t know how to do.

I changed/updated the php memory_limit here: /etc/php/7.0/fpm/php.ini, but not sure how to apply the changes.

I tried sudo service apache2 restart but said “Failed to restart apache2.service: Unit apache2.service not found.”

Thank you in advance


#2

Hello @jubabento,

EasyEngine isn’t running with Apache, the homepage title is WordPress On Nginx Made Easy!. To apply changes in /etc/php/7.0/fpm/php.ini, use :

sudo service php7.0-fpm restart

#3

Ah ok, sorry for the confusion. thank you so much for your reply @virtubox

Actually for some reason I don’t have 7.0.

So I ran this:

1- sudo nano /etc/php/5.6/fpm/php.ini **(edited this file)**

2- sudo service php5.6-fpm restart

#4