<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 22:50:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Jones' Blog: Building PHP 5.3 with Oracle HTTP Server 11g]]></title>
      <guid>http://www.phpdeveloper.org/news/16097</guid>
      <link>http://www.phpdeveloper.org/news/16097</link>
      <description><![CDATA[<p>
The latest post on <i>Chris Jones</i>'s blog walks you through the process, step-by-step, of how to <a href="http://blogs.oracle.com/opal/2011/03/building_php_53_with_oracle_ht.html">build PHP 5.3 with support for the Oracle HTTP server</a> included with the 11g version of the database.
</p>
<blockquote>
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.
</blockquote>
<p>It's a pretty simple process (if you're used to compiling your own software):</p>
<ul>
<li>Checks the OS and compiler to ensure needed tools are installed
<li>Set up the Oracle environment variables
<li>Set up the PHP environment
<li>Copy over the needed header files
<li>Extract PHP and modify its configure slightly
<li>make distclean and then configure
</ul>]]></description>
      <pubDate>Thu, 24 Mar 2011 13:04:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Oracle Technology Network: Using PHP and Oracle Database 11g (Tutorials)]]></title>
      <guid>http://www.phpdeveloper.org/news/15588</guid>
      <link>http://www.phpdeveloper.org/news/15588</link>
      <description><![CDATA[<p>
As <a href="http://blogs.oracle.com/opal/2010/12/learn_to_use_php_or_python_wit.html">mentioned by Chris Jones</a> today, the Oracle Technology Network has posted a few new tutorials in their "Oracle By Example" series. Two of them deal with using PHP and the 11g version of the Oracle database.
</p>
<p>
The first, <a href="http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/opensrclang/phphol2010_db/php_db.htm">Using PHP with Oracle Database 11g</a>, is an introduction to some of the basics of interacting with the database including using connection pooling and tips on query optimization.
</p>
<p>
The second tutorial, <a href="http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/opensrclang/phphol2010_webapp/php_webapp.htm">Developing a PHP Web Application with Oracle Database 11g</a>, shows you how to build up a basic company portal with the help of the <a href="http://framework.zend.com">Zend Framework</a> and the <a href="http://www.netbeans.org/">Netbeans</a> IDE.
</p>]]></description>
      <pubDate>Thu, 16 Dec 2010 09:10:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Oracle Technology Network: Using PHP with Oracle HTTP Server 11g]]></title>
      <guid>http://www.phpdeveloper.org/news/13222</guid>
      <link>http://www.phpdeveloper.org/news/13222</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has pointed out <a href="http://www.oracle.com/technology/products/ias/ohs/htdocs/php_ohs.htm">a new article</a> on the Oracle Technology Network about using PHP on the Oracle HTTP Server for 11g.
</p>
<blockquote>
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. 
</blockquote>
<p>
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).
</p>]]></description>
      <pubDate>Tue, 15 Sep 2009 08:24:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Which OCI8 DLL to use in PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/11511</guid>
      <link>http://www.phpdeveloper.org/news/11511</link>
      <description><![CDATA[<p>
With the release of another DLL driver for PHP on Windows to access Oracle databases, <i>Chris Jones</i> wanted to <a href="http://blogs.oracle.com/opal/2008/12/which_oci8_dll_to_use_in_php_5_1.html">alleviate any confusion</a> there might be between the two in a new blog post.
</p>
<blockquote>
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.
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Fri, 05 Dec 2008 07:58:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Singapore PHP User Group: Blair Layton of Oracle Presents on 11g (video)]]></title>
      <guid>http://www.phpdeveloper.org/news/11315</guid>
      <link>http://www.phpdeveloper.org/news/11315</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has pointed out <a href="http://blog.php.com.sg/archives/singapore-php-meetup-oct-2008-oracle">a video</a> of a recent presentation at the Singapore PHP User Group Meeting done by <i>Blair Layton</i> (of Oracle Asia Pacific) on the OCI8 extension and using it to connect PHP.
</p>
<blockquote>
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.
</blockquote>
<p>
His slides are also available for download - <a href="http://blog.php.com.sg/wp-content/upload/2008/03/PHP_User_Group.pdf">Set 1</a>, <a href="http://download.oracle.com/otndocs/S298813_PHP_Web_SCale_Community_Connect.pdf">Set 2</a> and you can watch the full video <a href="http://blog.php.com.sg/archives/singapore-php-meetup-oct-2008-oracle">here</a>.
</p>]]></description>
      <pubDate>Thu, 30 Oct 2008 09:32:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Oracle 11g Result Caching and PHP OCI8]]></title>
      <guid>http://www.phpdeveloper.org/news/11304</guid>
      <link>http://www.phpdeveloper.org/news/11304</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has <a href="http://blogs.oracle.com/opal/2008/10/oracle_11g_result_caching_and.html">written up another post</a> about a feature in some of the latest OCI8 libraries for PHP - result caching.
</p>
<blockquote>
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.
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Wed, 29 Oct 2008 07:52:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: PHP PECL OCI8 1.3.4 is available]]></title>
      <guid>http://www.phpdeveloper.org/news/10715</guid>
      <link>http://www.phpdeveloper.org/news/10715</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> <a href="http://blogs.oracle.com/opal/2008/07/php_pecl_oci8_134_is_available.html">mentions the release</a> of the latest OCI8 component for PHP - version 1.3.4 stable.
</p>
<blockquote>
OCI 1.3.4, with the changes I mentioned in my last post, is now available on PECL: <a href="http://pecl.php.net/package/oci8">http://pecl.php.net/package/oci8</a>. 
</blockquote>
<p>
He also mentions the work on the Windows version of the extension that he's been up to with the plan to make two OCI8 DLL releases for the future - one using 10g libraries and the other using 11g.
</p>]]></description>
      <pubDate>Wed, 30 Jul 2008 10:25:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gennady Feldman's Blog: Installing Oracle Instant Client 11g and PECL OCI8 (Part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/9353</guid>
      <link>http://www.phpdeveloper.org/news/9353</link>
      <description><![CDATA[<p>
<i>Gennady Feldman</i> has posted the <a href="http://www.gena01.com/forum/gena01_blog/installing_oracle_instant_client_11g_and_pecl_oci8-t193.0.html;msg1326#msg1326">second part</a> of his install instructions for setting up the Oracle Instant Client (11g) and the Oracle OCI8 drivers in PHP.
</p>
<blockquote>
This is part 2 of my installation instructions. This is my attempt to provide an updated and simplified reference. I am leaving <a href="http://www.gena01.com/forum/gena01_blog/installing_oracle_instant_client_and_making_it_work_with_php-t184.0.html">Part 1</a> as is, because that part can also be useful.
</blockquote>
<p>
This <a href="http://www.gena01.com/forum/gena01_blog/installing_oracle_instant_client_11g_and_pecl_oci8-t193.0.html;msg1326#msg1326">updated tutorial</a> shows the steps to installing 11g (versus 10g in the <a href="http://www.phpdeveloper.org/news/8973">previous example</a>) including the packages you'll need, the commands to make it work and a PEAR version of the install if you choose to go that route.
</p>]]></description>
      <pubDate>Fri, 04 Jan 2008 07:58:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Cooee - Oracle Database 11g is out]]></title>
      <guid>http://www.phpdeveloper.org/news/8431</guid>
      <link>http://www.phpdeveloper.org/news/8431</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> <a href="http://blogs.oracle.com/opal/2007/08/10#a155">notes in a new post</a> that the latest version of the Oracle database has been released - Oracle 11g.
</p>
<blockquote>
On the PHP front: the OCI8 and PDO_OCI8 extensions work with it but because library names have changed to 11.1, the install script needs to be updated. I will merge a build patch for this very soon to PHP's CVS.
</blockquote>
<p>
Until that patch is in place, he <a href="http://blogs.oracle.com/opal/2007/08/10#a155">offers a quick fix</a> to get things compiling and back up and working.
</p>]]></description>
      <pubDate>Fri, 10 Aug 2007 15:03:00 -0500</pubDate>
    </item>
  </channel>
</rss>
