Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-06-2012, 09:22 PM   PM User | #1
Philosophaie
New Coder

 
Join Date: Sep 2010
Posts: 46
Thanks: 1
Thanked 1 Time in 1 Post
Philosophaie is an unknown quantity at this point
Restart Apache so php.ini is reloaded

I have Apache version 2.2.21 but I have never used it.

How do I restart the Apache server so that PHP modules and attributes from php.ini will be reloaded.
Philosophaie is offline   Reply With Quote
Old 03-07-2012, 07:54 AM   PM User | #2
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
It depends on the operating system. Windows is typically find the taskbar icon, click on it, reload/restart.

Linux is typically one of
/etc/init.d/apache2 reload (or /etc/init.d/apache2 restart)
service apache2 restart
service httpd restart

If it's not a production server, just a development machine, I'd do a restart rather than a reload.
leslie.jones is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:18 AM.


Advertisement
Log in to turn off these ads.