Re: OT: PHP 5.6 with ohs in FM11g on Win2k12 (x64)

  • From: Patrice sur GMail <patrice.boivin@xxxxxxxxx>
  • To: Mladen Gogala <gogala.mladen@xxxxxxxxx>
  • Date: Mon, 6 Feb 2017 23:30:29 -0400

sadly my developers want me to install PHP 5.6 with a 11g instantclient for
backward compatibility... I decided to download a WAMP server to see how
they configured PHP in theirs, discovered they don't use fastCGI or
mod_proxy_fcgi at all, they used the old straightforward method.  I don't
know yet whether it can work at all with ohs

One of PHP's problems is probably that it's not backward compatible from
version to version.  Every time a new version is released, you lose part of
your user base who see upgrading as a major crossroad; then they opt to go
somewhere else.

It's sad because we found that PHP served web pages much faster than
mod_plsql could.

We experimented with Plone and python at one point but quickly discovered
that Plone wasn't scalable.  They never had a good driver to connect to
Oracle either, when I asked about it at a session at Washington University
the attendees looked at me as if I was from the Dark Side (the Oracle, non
open-source side).  Most of the python and plone users seemed to be small
organizations like non profit groups who didn't intend to serve large data
sets.  Zope is just a flat file, like MS Access.  We needed to connect to
Oracle and serve scientific data.

thanks Mladen for responding.

On Mon, Feb 6, 2017 at 10:25 PM, Mladen Gogala <gogala.mladen@xxxxxxxxx>
wrote:

PHP jumped directly from 5.x to 7.x. The version 6.x exists but is
practically not used. Most of the people have transitioned directly from
5.x to 7.x.  And yes, PHP is being less and less used. I believe that this
can be formulated very simply: "Python has prevailed". I used to do a lot
of PHP and Perl, but nowadays, everybody wants Python. My favourite for the
CLI is still Perl, but the fact is that the new engineers coming out of
college mostly uses Python. In other words, Python has constricted PHP,
Perl and probably Ruby.  I read a book about Python and tried some simple
scripts. It's not that bad, although I dislike the consistent object
orientation features. I don't believe that OO programming is the best
approach for everything.
However, if you want to use PHP 7, it's still there. Oracle is still
maintaining the oci8 module and it works perfectly. PHP 7 introduced strict
typing, which is significant departure from type free language that PHP
used to be.


On 02/06/2017 08:59 AM, Patrice sur GMail wrote:

There are multiple instructions on the 'net (including on php.net and the
underground php manual) which are outdated and useless.  Some are
confusing, last time I installed PHP it was straightforward.  Now PHP seems
to be fragmenting:  thread safe, nts, fcgi, no fcgi, 32-bit or 64-bit, vc9,
vc11, some have php5apache2_4.dll, some don't.  Some articles seem to
assume that if you're on Windows you're using IIS, but I don't know anyone
who has used IIS in the last 10 years.  Whatever happened to PHP 6?  Last
time I checked when we count it goes like this: 1, 2, 3, 4, 5, 6 and then
7.  As for 32-bit... Wasn't that for Windows 3.1.1 to Windows XP?  Windows
7 was desupported years ago, it's on extended support (aka. the palliative
care ward).

Is there a blog post somewhere or a tech note on how to configure php for
ohs in FM11g on Windows x64?

Google is practically useless, it used to show only pages with the
keywords we mentioned but now it pads the search results with all kinds of
useless and irrelevant content.  We used to be able to insist that a
keyword was in the pages by prefixing with a + sign, but when Google
decided to plug Google+ instead of provide accurate search results,  that
functionality disappeared.

I note that Oracle seems to have jettisoned supporting PHP by using fcgi
instead.  The only page I found on OTN had to do with installing PHP on
linux.

PHP used to be the darling scripting language, what happened?

-- Patrice
My profiles: [image: Facebook]
<http://www.facebook.com/home.php?#%21/profile.php?id=100000206805521>[image:
LinkedIn] <http://ca.linkedin.com/pub/patrice-boivin/a/933/5a9>[image:
Twitter] <http://www.twitter.com/PatriceBoivin>



--
Mladen Gogala
Oracle DBA
Tel: (347) 321-1217




-- 


-- Patrice
My profiles: [image: Facebook]
<http://www.facebook.com/home.php?#!/profile.php?id=100000206805521>[image:
LinkedIn] <http://ca.linkedin.com/pub/patrice-boivin/a/933/5a9>[image:
Twitter] <http://www.twitter.com/PatriceBoivin>

Other related posts: