× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A further addendum. The process to clone the default Zendsvr instance of the Apache server is very easy in the administration GUI, and not hard from the command line. I almost always will clone it and run on a different port (usually 80 BTW) and leave the as delivered Zend instances alone. That way modifications to your site do not affect the base instance so you can test base functionality in the event of a problem.

You can set your own standards but I have found if you change the default directory to /usr/local/myapacheinstance and copy the .htdocs file in there (keeps Zend routing working) it's easy then to create virtual hosts for development and test/QA. Add the Apache directive to allow personal web sites, and each of your developers can have their own development location as well (http://www.mydomain.com/~developername)

If your going to the COMMON Annual Conference, my session on Zend admin will show you how to do this. I will also demonstrate how to clone the environment to your windows or Linux desktop.

The blue button does in fact restart the default instances of zendsvr in the IBM i, Windoze, and Linux environments; I just tried it.

Jim Oberholtzer
CEO/Chief Technical Architect
Agile Technology Architects, LLC


On 2/24/2011 9:46 AM, Mike Pavlak wrote:
> 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 athttp://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 athttp://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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.