Discussion:
php on iseries
(too old to reply)
ga
2011-02-04 21:39:05 UTC
Permalink
Asking for a little direction here...

I installed zendserver on our as/400.

I started the zendsvr subsystem and everything.

I can connect to http://system:10088/zendserver and it is running.

Okay, I downloaded a php script I wanted to run just to see if it
would work.

It says, type in http://system:10088/phpname.php

When I do that it doesn't work, brings up a good search page with that
in it.

I think the problem is, I'm not putting the phpname.php in the right
place, after I downloaded it.

WHERE do I store the Php scripts (i.e. *.php files) at???? I assume
they get stored on the ifs

During hte install it created a "user\local\zendsvr" subdirectory.
Under that subdirectory are several others, 5250, bin, doc, etc, gui,
include, lib, phpmyadmin, sbin, share, tmp, var, etc. I copied my php
script to just x:\usr\local\zendsvr.

Or have I not started something or what? I am being dangerous
probably, but it's about as clear as mud to this dud...

thanks,
ga
ga
***@nospam.fmctc.com
Emile
2011-02-04 23:20:18 UTC
Permalink
Store the php scripts in the IFS in directory : /www/zendsvr/htdocs

Greetings,

Emile
ga
2011-02-05 11:08:09 UTC
Permalink
THANK YOU!!! That worked. Thanks again!
Post by Emile
Store the php scripts in the IFS in directory : /www/zendsvr/htdocs
Greetings,
Emile
ga
***@nospam.fmctc.com
eb
2011-02-28 18:44:24 UTC
Permalink
Post by ga
Asking for a little direction here...
I installed zendserver on our as/400.
I started the zendsvr subsystem and everything.
I can connect tohttp://system:10088/zendserverand it is running.
Okay, I downloaded a php script I wanted to run just to see if it
would work.
It says, type inhttp://system:10088/phpname.php
When I do that it doesn't work, brings up a good search page with that
in it.
I think the problem is, I'm not putting the phpname.php in the right
place, after I downloaded it.
WHERE do I store the Php scripts (i.e. *.php files) at????  I assume
they get stored on the ifs
During hte install it created a "user\local\zendsvr" subdirectory.
Under that subdirectory are several others, 5250, bin, doc, etc, gui,
include, lib, phpmyadmin, sbin, share, tmp, var, etc.  I copied my php
script to just x:\usr\local\zendsvr.  
Or have I not started something or what?  I am being dangerous
probably, but it's about as clear as mud to this dud...
thanks,
ga
ga
If you already have other web instances running you can bind them to
ZendServer and put .php's in the same ifs path as your other .html's
jpn001
2014-07-21 23:38:18 UTC
Permalink
Hello,

you should put your php script under /WWW/ZENDSVR6/HTDOCS.

maybe use another port 10087 or 10089, I think.

JP

Continue reading on narkive:
Loading...