Restart Apache after PHP update?

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated.

Do I need to restart the HTTPD service after updating php56?

profilepic.png
manpreet 2 years ago

You do not need to restart apache, but you need to tell it to reload its configuration. I am not sure which command centos uses to start/stop/reload daemons.

On centos the command should be:

sudo service httpd graceful

On a linux that uses systemd the command would be:

sudo systemctl reload apache2

On debian it would be:

sudo apache2ctl graceful

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.