From the page of "Mike is a goof", I need to clarify a bit further and fall on a sword...sort of...
The Blue button DOES restart Apache, BUT...only the default ZENDSVR instance. Because PHP is threaded through the FastCGI processes, the Apache server gets kick in the pants too. I just tested this and verified it. Thank you to Sam P. for "enlightening" me. :-) BUT the blue button will only look for the default ZENDSVR instance. So, if you have hacked your Apache instance name or you have plugged the FastCGI processes into an existing Apache configuration say for CGIDEV2, Net.Data or WebSphere you will need to restart those manually using the instructions that Jim O provided. Thank you JIM!!!
FWIW: I am told that Zend Server on Linux and Windows behaves the same way by performing a "graceful" restart of Apache and PHP. For those of you considering other OS's in a clustered Linux or Windows implementation, the Blue button performs a rolling restart of the clustered servers to provide consistent availability of the site(s).
Hope this is helpful!
Mike
mike.p@xxxxxxxx Cell: (408)679-1011 Office: (630)928-1476
Zend Server for IBM i available at
http://www.zend.com/en/products/server/zend-server-5-new-ibmi
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Pavlak
Sent: Wednesday, February 23, 2011 3:29 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Start / Stop Server
Thanks Jim! FWIW:here is a little more info.
The blue "Restart PHP" button only reloads the PHP.ini and other Zend Server configuration files. Restarting the HTTP Server Powered by Apache will reload the Apache and FastCGI configuration files.
The PHP.ini file contains settings and directives that control the behavior of PHP. Most folks will use the Zend Server admin interface to adjust these settings, yet others insist on hacking the file with whatever editor is laying around. My recommendation is to stick with the admin interface. Regardless, it is a VERY good idea to ensure you are backing up the directory that warehouses these files on a regular basis. (/usr/local/zendsvr). This will make recovering your PHP configuration a lot easier should catastrophe strike! The PHP.ini file resides in the /etc directory off of /zendsvr and contains the standard PHP directives like the include_path, display_errors, etc.
The FastCGI file is located near the Apache configuration files and is reloaded at the same time the Apache configuration is loaded. I hope it stands to reason that since IBM "owns" the HTTP and FastCGI processes and Zend "owns" the PHP configurations that the two worlds are separate in how they are managed.
Hope this helps!
Mike
mike.p@xxxxxxxx Cell: (408)679-1011 Office: (630)928-1476
Zend Server for IBM i available at
http://www.zend.com/en/products/server/zend-server-5-new-ibmi
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Jim Oberholtzer
Sent: Wednesday, February 23, 2011 2:47 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Start / Stop Server
You have to cycle the apache server to get the changes to take effect.
From the command line:
STRTCPSVR SERVER(*HTTP)
RESTART(*HTTP)
HTTPSVR(MYINSTANCE)
Jim Oberholtzer
CEO/Chief Technical Architect
Agile Technology Architects, LLC
On 2/23/2011 2:33 PM, Brian Piotrowski wrote:
Hi All,
If I make changes to the httpconf file, do I need to stop and restart the server or are the changes automatically applied? If so, is it done with the "restart PHP" button on the lower-right of the admin screen?
Thanks!
/b;
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Assistant Mgr. - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-5029
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com
As an Amazon Associate we earn from qualifying purchases.