For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > October 2004 > How do I shutdown and restart PHP?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How do I shutdown and restart PHP?
Terabyte

2004-10-16, 3:55 pm

Good day!



How do I shutdown and restart PHP? I don't want to reboot the machine each
time I desire the changes/additions I completed in the PHP.ini file to take
affect.



Thanks!


Jan831

2004-10-16, 3:55 pm

In bericht <Qf6dnQtG-KxOtuzcRVn-iA@rogers.com>, schreef
terabyte@rogers.com ...
> Good day!
>
>
>
> How do I shutdown and restart PHP? I don't want to reboot the machine each
> time I desire the changes/additions I completed in the PHP.ini file to take
> affect.
>
>
>
> Thanks!
>
>
>

you just have to restart your webserver (probably apache), that will
reload your php.ini-file

Jan8831
Warren Oates

2004-10-16, 3:55 pm

In article <Qf6dnQtG-KxOtuzcRVn-iA@rogers.com>,
"Terabyte" <terabyte@rogers.com> wrote:

:How do I shutdown and restart PHP? I don't want to reboot the machine each
:time I desire the changes/additions I completed in the PHP.ini file to take
:affect.

If you're talking about the apache module:

apachectl graceful

should do it. I assume the cli version will read the new PHP.ini file
when it's called.
--
Looks like more of Texas to me ...
-- from The Wild Bunch
Terabyte

2004-10-17, 3:55 pm


"Terabyte" <terabyte@rogers.com> wrote in message
news:Qf6dnQtG-KxOtuzcRVn-iA@rogers.com...
> Good day!
> How do I shutdown and restart PHP? I don't want to reboot the machine each
> time I desire the changes/additions I completed in the PHP.ini file to

take
> affect.


Thank you both for you input! Gee I knew that it could not be that
difficult!
I hate being the new kid on the block!

Cheers!


Ninjaboy

2004-10-20, 8:55 pm

If you don't want to restart Apache.
on unix you can issue apachestl reload
command that will reload the config files without actually killing the
webserver and starting it backup. Be ware that if your configs have errors
you might crash your server and have to delete the pid files manually before
you can start it up again.


"Terabyte" <terabyte@rogers.com> wrote in message
news:cpednWsjf4aOEO_cRVn-qg@rogers.com...
>
> "Terabyte" <terabyte@rogers.com> wrote in message
> news:Qf6dnQtG-KxOtuzcRVn-iA@rogers.com...
> take
>
> Thank you both for you input! Gee I knew that it could not be that
> difficult!
> I hate being the new kid on the block!
>
> Cheers!
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com