I made some settings in php.ini from my site that are not working, and they told me that I needed to restart apache to work, but I do not know how to proceed with this reboot. Can someone give me a way to do it?
I made some settings in php.ini from my site that are not working, and they told me that I needed to restart apache to work, but I do not know how to proceed with this reboot. Can someone give me a way to do it?
This depends on the operating system used.
If you use CPanel you are probably using CentOS!
service httpd restart
sudo /etc/init.d/apache2 restart
sudo service apache2 restart
You can replace restart
with reload
, or use reload
before restart
for configuration data to be updated.
You can use Restart Services
:
Home >> Restart Services >> HTTP Server (Apache)
You can use Services Management
:
[Server >>] Tools & Settings >> Services Management : Web Server (Apache)
Note: I no longer use CPanel and have never used Plesk , so I can not say that the data is still correct and up to date. This data was taken from the company's own website.