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.