ZendSvr6 / IBM Http config

General discussion on Zend Server for IBM System i
Post Reply
rick4525
Posts: 1
Joined: Fri Oct 30, 2015 4:40 pm

ZendSvr6 / IBM Http config

Post by rick4525 » Fri Oct 30, 2015 4:48 pm

Hi All,

I have Zend Server 6 for IBM i installed and working and I also have a IBM HTTP server setup and functioning. Can someone tell me the configuration process
of setting up my IBM HTTP web instance to allow for PHP functions? I can access and navigate my IBM HTTP web instance using port 80/443 and everything
functions and does as expected. I would now like to create an HTML page on the IBM HTTP web instance to take advantage of the php functions. Do I just
make changes to my IBM HTTP web instance config to allow this? I can access both web instances (Zend & IBM HTTP) from inside our network but only the
IBM HTTP server externally.

Any guidance or resources would be greatly appreciated,

Thanks
Rick

darkluke980
Posts: 61
Joined: Sat Mar 28, 2009 8:31 pm
Location: Italy
Contact:

Re: ZendSvr6 / IBM Http config

Post by darkluke980 » Tue Nov 03, 2015 10:38 pm

Why you don't simply change zendserver to listen on port 80? Edit /www/zendsvr6/conf/httpd.conf

.. or if you need two instances, instead of starting with IBM http, duplicate /www/zendsvr6 in /www/myserver/ .
Edit /www/myserver/conf/fastcgi.conf and change last line from IpcDir /www/zendsvr6/logs to /www/myhttp/logs
Edit /www/myhttp/conf/httpd.conf and change DocumentRoot if needed ,listen port. If you use port 80 disable IBM HTTP.

Duplicate QUSRSYS/QATMHINSTC.ZENDSVR6 in QUSRSYS.QATMHINSTC.MYHTTP, edit member with option 18 and make a substitution of zendsvr6 with myhttp.

STRTCPSVR *HTTP INSTANCE(*MYHTTP)

Of curse myhttp is the name of your instance.

Post Reply