× 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.



Jon,

ZENDPHP7 is the server that runs PHP version 7

The other versions all run and earlier version of PHP, 6 I think. The Zend
server 8 refers to the Zend server version only.


--
Jim Oberholtzer
Agile Technology Architects


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, July 13, 2018 10:42 AM
To: Web400@Midrange. Web400 <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] PHP code doesn't execute

No argument about adding it to your own Apache instance - that is what we do
- actually it is added to several.

But as I said, you need to be sure the basics are running first. Once that
is proven _then_ worry about adding it to your own server instance. I'm
really surprised that Pete wrote it up that way, particularly since that is
very prone to change with new releases.

Interesting that you have ZENDPHP7 - it must be a function of the update
process because although I'm running the V8 server it is all "housed" still
in the ZENDSVR6 library.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 13, 2018, at 9:39 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

The book's talking about your own Apache server, which I'd prefer. My
servers are already configured (e.g. authentication, firewalls, SSL).

I don't know if it matters, but I don't have any ZENDSVR* libraries. The
library is ZENDPHP7. I downloaded it this week, and the menu shows " Zend
Server 2018.0.0 for IBM i Management Menu (PHP 7.2)", so I assume it's
current.

I'll try putting my sample script in in their DocumentRoot
(/www/zendphp7/htdocs) and see what happens. Thank you




-----Original Message-----
From: Jon Paris [mailto:jon.paris@xxxxxxxxxxxxxx]
Sent: Thursday, July 12, 2018 3:29 PM
To: Web400@Midrange. Web400 <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] PHP code doesn't execute

If the http://xxx:10080 brings up "Zend Server Test Page" URL brings up a
page the server is working correctly. Where did you put your php test
script? It has to be in the server's default doc root.

To find out where that is (just in case it is non-standard):

ADDLIBLE ZENDSVRn (Where n is 6 or 8 or whatever version you loaded -
check with WRKLIBPDM ZENDSVR*)

GO ZSMENU

The take option 15 on the menu - that will show you the apache config file
and if you take option 5 against that you should see a line like:

DocumentRoot /www/zendsvr6/htdocs

That is where the server is looking to find your script. I don't know why
the book had you add all the stuff manually - that should only be needed to
integrate the ZendServer with your regular port 80 web site. Normally when
starting out you just stick with the default.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.