 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Chris Jones' Blog: Building PHP 5.3 with Oracle HTTP Server 11g
by Chris Cornutt March 24, 2011 @ 13:04:07
The latest post on Chris Jones's blog walks you through the process, step-by-step, of how to build PHP 5.3 with support for the Oracle HTTP server included with the 11g version of the database.
I get the impression that not a lot of people in the PHP community are using Itanium. There are enough warnings during PHP compilation that would make me extremely uncomfortable using it for production applications. A PHP on Itanium installation bug that I logged long ago has not been patched, indicating to me that not many PHP people are investing time in the platform. I can't recommend using Itanium platform for PHP. Anyway, I had a need and here are the steps for posterity.
It's a pretty simple process (if you're used to compiling your own software):
- Checks the OS and compiler to ensure needed tools are installed
- Set up the Oracle environment variables
- Set up the PHP environment
- Copy over the needed header files
- Extract PHP and modify its configure slightly
- make distclean and then configure
voice your opinion now!
oracle server http 11g tutorial install
Oracle Technology Network: Using PHP with Oracle HTTP Server 11g
by Chris Cornutt September 15, 2009 @ 08:24:40
Chris Jones has pointed out a new article on the Oracle Technology Network about using PHP on the Oracle HTTP Server for 11g.
Oracle HTTP Server is the web server component in Oracle Fusion Middleware. Based on the Apache infrastructure, Oracle HTTP Server allows developers to program their site in a variety of languages and technologies. [...] Although PHP interpreter, language and server side module (mod_php) do not ship with the Oracle HTTP Server 11g release, Oracle will assists customers in configuration and inclusion of mod_php into Oracle HTTP Server. Note that Oracle does not support the PHP interpreter and language but it supports Oracle HTTP Server 11g release with mod_php included.
The tutorial steps you through the installation of a PHP component on the Oracle HTTP server to get the latest version of the interpreter up and running (PHP 5.3 as of the time of this post). The main part of the install is getting the mod_php extension for the server installed and working with the needed Oracle (OCI8) support. You'll need to be able to configure and make/make install to get it all working so be sure either you have the rights (or a handy admin is nearby).
voice your opinion now!
oracle http server 11g fusion
Chris Jones' Blog: Which OCI8 DLL to use in PHP 5.3
by Chris Cornutt December 05, 2008 @ 07:58:54
With the release of another DLL driver for PHP on Windows to access Oracle databases, Chris Jones wanted to alleviate any confusion there might be between the two in a new blog post.
As I foreshadowed in a now distant post, Pierre has installed Oracle 11g Instant Client on the PHP Windows build box and updated the OCI8 build scripts for PHP 5.3 (and PHP 6). PHP 5.3 now has two mutually exclusive versions of the OCI8 extension DLL [...] The two DLLs have the same user script API that do the same thing. You only need to (and only can) enable one at any one time. Choose the one that matches your Oracle client libraries.
The two DLLs - php_oci8.dll and php_oci8_11h.dll - have pretty self-explanitory names, but it could be confusing as to whether you need both or not if you go the 11g route.
voice your opinion now!
oracle dll driver windows 11g oci8 extension php5 php6
Singapore PHP User Group: Blair Layton of Oracle Presents on 11g (video)
by Chris Cornutt October 30, 2008 @ 09:32:46
Chris Jones has pointed out a video of a recent presentation at the Singapore PHP User Group Meeting done by Blair Layton (of Oracle Asia Pacific) on the OCI8 extension and using it to connect PHP.
While most PHP developers start off on the LAMP (Linux, Apache, MySQL, PHP) stack there maybe a need to investigate OPAL (Oracle, PHP, Apache, Linux). This talk will discuss what Oracle offers PHP developers including operating system, database, middleware and tools support. You will find out how to take advantage of specific features in Oracle Database 11g that assist PHP developers such as Database Resident Connection Pooling with code samples and demos. An example architecture from a USA web company of a highly scalable PHP application that uses Oracle database will also be discussed.
His slides are also available for download - Set 1, Set 2 and you can watch the full video here.
voice your opinion now!
blairlayton oracle presentation video slide download 11g
Chris Jones' Blog: Oracle 11g Result Caching and PHP OCI8
by Chris Cornutt October 29, 2008 @ 07:52:33
Chris Jones has written up another post about a feature in some of the latest OCI8 libraries for PHP - result caching.
Oracle Database 11g introduced "server-side"and "client-side" result caches. The database cache is enabled with the RESULT_CACHE_MODE database parameter, which has several modes. With the default mode, queries for which you want results to be cached need a hint added - No PHP changes are required.
This caching is perfect for results from smaller lookup tables and can drop CPU usage by quite a bit. Oracle automatically takes care of validating the cache entries when something changes the stored results so your query is always fetching the latest (without having to worry about a timestamp on the cache or anything like that). He gives a few examples of how it would work, comparing the queries both with and without the caching.
voice your opinion now!
oracle oci8 driver cache result update tutorial 11g
|
Community Events
Don't see your event here? Let us know!
|