Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP on an AS/400 ?

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I've just started to make use of PHP on an IIS server on a Windows platform. I'm only using the basics, passing parameters back and forth and using these to interact with a mySQL database sitting on my machine.

Having done this we were wondering whether we could prime a similar set-up on an AS/400 system ?

We have an Apache webserver running on our AS/400. Can we enable PHP on the AS/400 or do we need to make use of some other means - i.e. CGI ?

Any help would be appreciated.

Thanks in advance
Steve
 
Sorry, no PHP on AS/400 yet. The was a rumor at one point about it comming on V5R2, but don't know if that is true anymore or not. You can use either CGI, java, or NET.DATA. Mike Wills
IBM iSeries (AS/400) Programmer
[pc2]

Please, if you find my post useful, let me know. [thumbsup2]
 
You can't get PHP, but I'm sure Perl runs fine on AS/400. By default, most people think Perl is stuck being a CGI-only tool for web scripting, but here are quite a few more sophisticated choices:

1. mod_perl ( -- Perl as a SAPI Apache module, just like PHP, although it is not embedded in HTML. This is a very powerful package, and since it is an Apache module, runs at least as fast as PHP. For simple things, Perl's syntax is very similar to PHP.

2. Mason ( -- this package actually allows you to embed Perl inside HTML exactly the way PHP does it, although again, you will have to get used to Perl's different syntax for the more complex things.

3. EmbPerl ( -- another HTML-embedded method of serving Perl dynamic content. -------------------------------------------

Big Brother: "War is Peace" -- Big Business: "Trust is Suspicion"
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top