php on iseries

  • Follow


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@nospam.fmctc.com
0
Reply ga 2/4/2011 9:39:05 PM

Store the php scripts in the IFS in directory :   /www/zendsvr/htdocs 

Greetings,

Emile

0
Reply Emile 2/4/2011 11:20:18 PM


THANK YOU!!! That worked.  Thanks again!

"Emile" <emile@e.nl> wrote:

>Store the php scripts in the IFS in directory :   /www/zendsvr/htdocs 
>
>Greetings,
>
>Emile

ga
nospam@nospam.fmctc.com
0
Reply ga 2/5/2011 11:07:35 AM

On Feb 4, 4:39=A0pm, ga <noem...@spam.fmctc.com> wrote:
> 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???? =A0I 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. =A0I copied my php
> script to just x:\usr\local\zendsvr. =A0
>
> Or have I not started something or what? =A0I am being dangerous
> probably, but it's about as clear as mud to this dud...
>
> thanks,
> ga
> ga
> nos...@nospam.fmctc.com

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
0
Reply eb 2/28/2011 6:44:24 PM

3 Replies
225 Views

(page loaded in 0.211 seconds)

Similiar Articles:











7/15/2012 10:34:28 AM


Reply: