<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Alison Holloway&apos;s Blog</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/" />
   <link rel="self" type="application/atom+xml" href="http://blogs.oracle.com/alison/xml/rss.xml" />
   <id>tag:blogs.oracle.com,2009:/alison//23</id>
   <updated>2008-07-02T05:09:10Z</updated>
   <subtitle>A blog on Oracle VM, PHP and any other projects I work on.</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type Enterprise 1.52-en-voltron-r47459-20070213</generator>

<entry>
   <title>A New Blog Server</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2008/07/a_new_blog_server.html" />
   <id>tag:blogs.oracle.com,2008:/alison//23.5171</id>
   
   <published>2008-07-02T05:08:55Z</published>
   <updated>2008-07-02T05:09:10Z</updated>
   
   <summary>If you&apos;ve received all my blogs again in your blog reader, apologies, but we&apos;ve just gone through a migration of our underlying blog server. I think all my blog entries are now hunky-dory, so no further interruption to the scheduled...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>If you've received all my blogs again in your blog reader, apologies, but we've just gone through a migration of our underlying blog server. I think all my blog entries are now hunky-dory, so no further interruption to the scheduled programming should occur. You shouldn't need to do anything at your end, but if you do, please leave me a comment so I can let others know.</p>  <p>As we've now completed the blog server migration, I can get back to writing my Oracle VM blogs, so stay tuned.</p>  <p>Alison</p>]]>
      
   </content>
</entry>
<entry>
   <title>Connecting to the Oracle VM Server Guest Virtual Machine</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2008/05/connecting_to_the_oracle_vm_se.html" />
   <id>tag:blogs.oracle.com,2008:/alison//23.284</id>
   
   <published>2008-05-29T03:17:27Z</published>
   <updated>2008-07-01T06:14:00Z</updated>
   
   <summary>So now you have a guest virtual machine running on Oracle VM Server. You want to connect to it of course. As I&apos;ve not yet introduced Oracle VM Manager to this scenario, I&apos;ll not talk about connecting to it from...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="Oracle VM" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="oraclevm" label="Oracle VM" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclevmmanager" label="Oracle VM Manager" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclevmserver" label="Oracle VM Server" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="install" label="install" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="virtualization" label="virtualization" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>So now you have a guest virtual machine running on Oracle VM Server. You want to connect to it of course. As I've not yet introduced Oracle VM Manager to this scenario, I'll not talk about connecting to it from there just yet, though this is probably the easiest way. So my next blog will be devoted to Oracle VM Manager.<br><br>There are many ways to connect to the guest virtual machine. Here I'll show you how to do it using VNC. Before you connect to it,&nbsp; you'll need to find the VNC port used by the domain. On the Oracle VM Server, run:<br><br><span style="font-family: Courier;"># xm list -l |more</span><br><br>In the output, look for the device <span style="font-family: Courier;">vfb</span> and the <span style="font-family: Courier;">location</span> entry in that section. It will be something similar to:<br><br><span style="font-family: Courier;">location 0.0.0.0.:5900</span><br><br>The last part of that string is the VNC port you can use to connect to the guest. From another host, use VNC to connect to the guest:<br><br><span style="font-family: Courier;"># vnc -Shared 192.168.2.21:5900</span><br><br>The <span style="font-family: Courier;">-Shared</span> flag allows others to connect to the port as well as yourself. The IP address is the IP address of the Oracle VM Server. If all goes well, you'll see a command shell login. Log in using the default template login <span style="font-family: Courier;">root</span>/<span style="font-family: Courier;">ovsroot</span>.<br><br>If you used an Oracle Database template when you created the guest, here's how to log in to the database with SQL*Plus (the Oracle Database command-line tool):<br><br>Once you're logged in to the guest as root, su as the oracle user (oracle/oracle):<br><br><span style="font-family: Courier;">su oracle</span><br><br>Start SQL*Plus:<br><br><span style="font-family: Courier;">$ORACLE_HOME/bin/sqlplus /nolog</span><br><br>The $ORACLE_HOME environment variable is already set in the template to /u01/app/oracle/product/db10g, which is the location of the Oracle Database installation (the Oracle Home).<br><br>At the SQL*Plus prompt, log in as the SYSDBA user using operating system authentication:<br><br><span style="font-family: Courier;">SQL&gt; <span style="font-weight: bold;">connect / as sysdba</span></span><br><br>You are logged into SQL*Plus and connected to the Oracle Database with full database administration privileges.<br><br>Huzzah!</p>]]>
      
   </content>
</entry>
<entry>
   <title>Creating a Guest Virtual Machine with Oracle VM Server</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2008/04/creating_a_guest_virtual_machi.html" />
   <id>tag:blogs.oracle.com,2008:/alison//23.285</id>
   
   <published>2008-04-24T02:59:28Z</published>
   <updated>2008-07-01T06:16:16Z</updated>
   
   <summary>Now you&apos;ve got Oracle VM Server and Oracle VM Manager installed, you&apos;ll obviously want to create a virtual machine. The easiest way is to use one of the preconfigured templates supplied by Oracle. In this example, I&apos;m going to use...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="Oracle VM" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="oraclevm" label="Oracle VM" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclevmserver" label="Oracle VM Server" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="virtualmachine" label="virtual machine" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="virtualization" label="virtualization" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>Now you've got Oracle VM Server and Oracle VM Manager installed, you'll obviously want to create a virtual machine. The easiest way is to use one of the preconfigured templates supplied by Oracle. In this example, I'm going to use an Oracle Enterprise Linux Release 5 Update 1 template that is hardware virtualized (fully virtualized) for an x86_64 bit platform.<br><br>You can use Oracle VM Manager to create guest virtual machines, but in this example I am going to use the Oracle VM Server command line tools. I'll write an example of creating a virtual machine using Oracle VM Manager in an upcoming blog.<br><br>At the end of this install, I will have a hardware virtualized guest (virtual machine) running Oracle Enterprise Linux Release 5 Update 1.<br><br>To start off, download the following <a href="http://www.oracle.com/technology/software/products/virtualization/vm_templates.html">template</a> from OTN:<br><br>OVM_EL5U1_X86_64_HVM_4GB.tgz <br><br>There's a <a href="http://download.oracle.com/otn_software/virtualization/README.templates">readme</a> for these templates which gives more information that I give you here if you get stuck or want to know more.<br><br>You can put the template onto an FTP or HTTP server, and import it into Oracle VM Server from there, or, the easiest way for me at least, is to copy it onto a USB drive and mount the drive on the Oracle VM Server box. When you've plugged in the USB drive to your Oracle VM Server, find the mount point by entering:<br><br><span style="font-family: Courier;"># dmesg |tail</span><br><br>Look for an entry like:<br><br><span style="font-family: Courier;">sdb: sdb1</span><br><br>In this case, the mount point is "sdb1". Once you've worked out where the mount point is, make a directory to mount the USB drive:<br><br><span style="font-family: Courier;"># mkdir /mnt/exthdd</span><br><br>Now, use this entry to mount the USB drive with the command:<br><br><span style="font-family: Courier;"># mount /dev/sdb1 /mnt/exthdd</span><br><br>Copy the template to the /OVS/templates directory:<br><br><span style="font-family: Courier;"># cp /mnt/exthdd/OVM_EL5U1_X86_64_HVM_4BG.tgz /OVS/templates/</span><br style="font-family: Courier;"><br>Uncompress the template:<br><br><span style="font-family: Courier;"># tar -xzf OVM_EL5U1_X86_64_HVM_4GB.tgz </span><br><br>Copy the directory and files that are created into /OVS/seed_pool:<br><br><span style="font-family: Courier;"># mkdir /OVS/seed_pool/OVM_EL5U1_X86_64_HVM_4GB</span><br style="font-family: Courier;"><span style="font-family: Courier;"># cp /OVS/templates/OVM_EL5U1_X86_64_HVM_4GB/* /OVS/seed_pool/OVM_EL5U1_X86_64_HVM_4GB/</span><br><br>Edit the /OVS/seed_pool/OVM_EL5U1_X86_64_HVM_4GB/vm.cfg file to make sure it is correct for your setup. Mostly this is just confirming the path to the vm.cfg file.<br><br>Create and start the virtual machine using the command:<br><br><span style="font-family: Courier;"># xm create /OVS/seed_pool/OVM_EL5U1_X86_64_HVM_4GB/vm.cfg</span><br><br>The virtual machine is created and started. You can see that the virtual machine is running with the xm list command. You should see dom0 and OVM_EL5U1_X86_64_HVM_4GB in the output.<br><br><span style="font-family: Courier;"># xm list</span><br><br>You can start and stop virtual machines using the xm command. If you want to shut down a domain, use the xm list command to get the domain ID, then use that to shut it down, for example<br><br style="font-family: Courier;"><span style="font-family: Courier;"># xm shutdown 1<br><br style="font-family: Arial;"><span style="font-family: Arial;">Coming next ... Connecting to the virtual machine.</span><br></span></p>]]>
      
   </content>
</entry>
<entry>
   <title>Installing Oracle VM</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2008/04/installing_oracle_vm.html" />
   <id>tag:blogs.oracle.com,2008:/alison//23.286</id>
   
   <published>2008-04-11T05:58:01Z</published>
   <updated>2008-07-01T06:19:22Z</updated>
   
   <summary>This is the first of my Oracle VM blogs. I figured I&apos;d start at the beginning. How to install it. There&apos;s an Oracle VM Quick Start Guide that gives you a bit more information than I&apos;ve given you here, but...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="Oracle VM" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="oraclevm" label="Oracle VM" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclevmmanager" label="Oracle VM Manager" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclevmserver" label="Oracle VM Server" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="install" label="install" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="virtualization" label="virtualization" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>This is the first of my Oracle VM blogs. I figured I'd start at the beginning. How to install it. <br><br>There's an <a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10960/e10960_02.htm">Oracle VM Quick Start Guide</a> that gives you a bit more information than I've given you here, but not quite as much as the install guides (links given later).<br><br />
<br>You'll need a machine that supports virtualization. Most newer machines support virtualization, but if you're using an older machine, you might need to use this as an excuse to go shopping. You'll also need at least 2GB RAM if you want to run more than one virtual machine at once. Oracle VM Server has it's own operating system, so it will wipe any existing data on your hard drive. Make sure you install this on a machine that you're happy to have wiped and dedicated to running your virtual machines.<br><br>So onto the install part. It's pretty easy. Very easy in fact. <br><br><a href="http://edelivery.oracle.com/oraclevm">Download the Oracle VM 2.1.1</a> ISO file.<br><br>You'll need both the Oracle VM Server and Oracle VM Manager ISO files:<br><br>Oracle VM Server 2.1.1 &nbsp;&nbsp; &nbsp;Part number V12540-01 &nbsp;&nbsp; &nbsp;315M<br>Oracle VM Manager 2.1.1 Part number V12499-01 &nbsp;&nbsp; &nbsp;534M<br><br>Use your favourite CD burner software and burn the Oracle VM Server ISO to a bootable CD.<br><br>Then burn the Oracle VM Manager ISO to a CD. This one doesn't need to be bootable.<br><br> You don't need to waste DVDs as both installs fit nicely onto a CD. <br>&nbsp;<br>Boot your machine from the Oracle VM Server CD. Follow the prompts during login, and you're away. When the install has finished, log in as "root" with the password you set during the install. Oracle VM Server is installed and ready to go now.<br><br>Now, to install Oracle VM Manager. You'll need an Enterprise Linux (either Oracle's or RedHat's) installation. Yes, this needs to be on another machine, though it doesn't wipe out the data, and you can use a lower spec'd machine, any old machine that will handle Enterprise Linux. <br><br>Start up the operating system, and mount the CD. Run the installation script as "root":<br><br style="font-family: Courier;"><span style="font-family: Courier;"># sh runInstaller.sh</span><br><br>Follow the prompts during the install and you're done. You can accept the defaults by hitting Enter. A lot of people seem to miss this so I thought it was worthy of pointing out. <br><br>If you want more detailed install info, you can get it in these books:<br><br><a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10899/e10899_02.htm">Oracle VM Server Installation Guide</a><br><a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10902/e10902_02.htm">Oracle VM Manager Installation Guide</a><br><br>Now you've got both the Oracle VM Server and Oracle VM Manager installed, you need to let Oracle VM Manager know about the Oracle VM Server.<br><br>Open the Oracle VM Manager interface in a web browser:<br><pre style="font-family: Courier;" xml:space="preserve" class="oac_no_warn">http://<span class="italic">hostname</span>:8888/OVS</pre>Log in as "admin" with the password you set during the installation.<br><br>Create a Server Pool.<br><br>Add the Oracle VM Server to the Server Pool. You can set whether the Oracle VM Server acts as a <a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10898/glossary.htm#insertedID16">Server Pool Master</a>, a <a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10898/glossary.htm#insertedID17">Utility Server</a>, and a <a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10898/glossary.htm#insertedID17">Virtual Machine Server</a>. If you need to enter a login while doing this, use the "root" password for the Oracle VM Server.<br><br>The next blog entry will show you how to create a virtual machine with your newly installed setup.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>Oracle VM</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2008/04/oracle_vm.html" />
   <id>tag:blogs.oracle.com,2008:/alison//23.287</id>
   
   <published>2008-04-11T05:31:49Z</published>
   <updated>2008-06-23T15:24:19Z</updated>
   
   <summary>I&apos;ve been a bit quiet recently. That&apos;s because I&apos;ve been head-down, fingers flying across the keyboard, working on Oracle VM. That&apos;s Oracle&apos;s virtualization platform, which was released late last year. We&apos;ve just released the first patch, so now we&apos;re up...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>I've been a bit quiet recently. That's because I've been head-down, fingers flying across the keyboard, working on <a href="http://www.oracle.com/technology/tech/virtualization/index.html">Oracle VM</a>. That's Oracle's virtualization platform, which was released late last year. We've just released the first patch, so now we're up to version 2.1.1. We're positively pumping out product here.<br><br>In the coming days I'll be posting some blogs about how to install and use Oracle VM. I hope you find these useful. If there are any topics you want covered, leave me some feedback and I'll get something written for you.<br><br>Oh, and I'll be back on updating the <a href="http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf">Underground PHP and Oracle Manual</a> shortly, so expect a new version soon.<br><br>Alison<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>I&apos;m Still Here</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/09/im_still_here.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.288</id>
   
   <published>2007-09-19T06:22:34Z</published>
   <updated>2008-06-23T15:24:20Z</updated>
   
   <summary>For those of you wondering where I&apos;ve gone, and where my blogs are lately, I just wanted to let you know I&apos;m still here. I have been working on things I can&apos;t talk about just yet, so my blog has...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>For those of you wondering where I've gone, and where my blogs are lately, I just wanted to let you know I'm still here. I have been working on things I can't talk about just yet, so my blog has been quiet recently. Hang in there, I'll be back soon enough with lots of juicy info.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>2008 PHP Quebec Call for Papers</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/09/2008_php_quebec_call_for_paper.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.289</id>
   
   <published>2007-09-19T06:17:59Z</published>
   <updated>2008-07-01T06:29:56Z</updated>
   
   <summary>The PHP Quebec Conference is happening in Montreal, Canada on 12-14 March 2008. They&apos;ve put a call out for speakers willing to share their expertise with Canadian and United States PHP professionals.The Conference features the PHPLab, where speakers and visitors...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="Conferences" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>The PHP Quebec Conference is happening in Montreal, Canada on 12-14 March 2008. They've put a call out for speakers willing to share their expertise with Canadian and United States PHP professionals.</p><p>The Conference features the PHPLab, where speakers and visitors will 
try to find solutions to actual business problems. The two days of technical talks will be dedicated to advanced software development techniques with PHP5 and PHP6, XML, web services, databases, etc.</p><p>Go check it out at <a href="http://conf.phpquebec.com/en" title="2008 PHP Quebec Conference">http://conf.phpquebec.com</a></p><br><br><img src="http://blogs.oracle.com/alisonHolloway/images/2008150x100whiteen.gif">]]>
      
   </content>
</entry>
<entry>
   <title>PHP RPMs for Oracle</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/07/php_rpms_for_oracle.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.290</id>
   
   <published>2007-07-03T02:04:39Z</published>
   <updated>2008-07-01T07:08:20Z</updated>
   
   <summary>Good news everyone. We&apos;ve just released a set of RPMs for PHP which include OCI8 and the Oracle PDO driver, as well as many other PHP extensions. These are for development testing only, as Oracle doesn&apos;t support them. The RPMs...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="rpms" label="RPMs" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phpoci8" label="php-oci8" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phppdo" label="php-pdo" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>Good news everyone. We've just released a set of RPMs for PHP which include OCI8 and the Oracle PDO driver, as well as many other PHP extensions. These are for development testing only, as Oracle doesn't support them. The RPMs are based on PHP 5.2.3.<br><br>You can download the PHP RPMs from the <a href="http://oss.oracle.com/projects/php/">oss.oracle.com</a> site. <br><br>To install them:<br><ol><li><p>As root, run:<br></p>    <pre>rpm -ivh php-common-5.2.3-1.i386.rpm <br>php-cli-5.2.3-1.i386.rpm php-5.2.3-1.i386.rpm</pre><br />
  </li><li><p>To verify the PHP RPMs have been installed, run <span style="font-family: Courier;">rpm -qa |grep php</span>. You should see:</p><br />
<pre>php-common-5.2.3-1<br>php-5.2.3-1<br>php-cli-5.2.3-1<br></pre><br />
</li></ol>The php-oci8 package depends on Oracle's free Instant Client Basic package and on PHP's php-pdo package. To install the Oracle components:<br>  <ol><li><p>Download  <a href="http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html">oracle-instantclient-basic-10.2.0.3-1.i386.rpm</a> and install it with:</p><br />
      <pre>rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm</pre></li><li><p>Install PHP's PDO extension with:</p><br />
	<pre>rpm -ivh php-pdo-5.2.3-1.i386.rpm</pre><br />
      </li><li><p>Install PHP's Oracle OCI8 and PDO_OCI extensions with:</p><br />
	<pre>rpm -ivh php-oci8-5.2.3-1.i386.rpm </pre><br />
      </li></ol>You're done. <br><br>Alison</p>]]>
      
   </content>
</entry>
<entry>
   <title>phpinfo() Not Displayed Correctly</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/05/phpinfo_not_displayed_correctl.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.291</id>
   
   <published>2007-05-24T07:28:32Z</published>
   <updated>2008-07-01T07:26:50Z</updated>
   
   <summary>Since I&apos;ve started blogging about little idiosyncracies I&apos;ve been experiencing in PHP, I&apos;ve been getting feedback that you want more. Okay. I&apos;ll start adding little tid-bits that might help out someone out there. So here&apos;s one I found (again) today.While...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phpinfo" label="phpinfo();" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>Since I've started blogging about little idiosyncracies I've been experiencing in PHP, I've been getting feedback that you want more. Okay. I'll start adding little tid-bits that might help out someone out there. So here's one I found (again) today.<br><br>While testing the bug fix I mentioned in an blog entry last week, I found that trying to load the phpinfo() script caused my browser to try loading the file as an application. That is, it tried to download the file, rather than execute the script. This happened in Firefox and IE. For those not familiar with phpinfo(), it's a function that displays the setup of PHP, including loaded extensions, environment variables, PHP variables, and so on. Here's what you would use:<br><br><span style="font-style: italic;">phpinfo.php</span><br><pre>&lt;?php<span style="font-family: monospace;"></span></pre><pre><span style="font-family: monospace;"></span>phpinfo();<span style="font-family: monospace;"></span></pre><pre><span style="font-family: monospace;"></span>?&gt;</pre>I'm getting side-tracked. You'll likely all know how to use this function, but that was for newbies.<br><br>So, if you try to load this script using <span style="font-style: italic;">localhost </span>in the URL, your browser will not know how to deal with it, nor will PHP, so it strangely asks you what to do with it. This doesn't happen to my other PHP scripts. So, don't use:<br><br>http://<span style="font-weight: bold;">localhost</span>/phpinfo.php<br><br>Use<br><br>http://<span style="font-weight: bold;">127.0.0.1</span>/phpinfo.php<br><br>If this is far too simple a blog, let me know. I'll get back into the more unusual stuff.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>Zend Core for Oracle 2.0 Released</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/05/zend_core_for_oracle_20_releas.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.292</id>
   
   <published>2007-05-24T04:44:52Z</published>
   <updated>2008-07-01T07:38:11Z</updated>
   
   <summary>Zend have just released a new version of Zend Core for Oracle. This is a prebuilt and tested stack of Apache, PHP and Oracle Instant Client. If you haven&apos;t used it before, you will like the easy setup. I promise....</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="apache" label="Apache" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oracleinstantclient" label="Oracle Instant Client" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="oraclexe" label="Oracle XE" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="zendcorefororacle" label="Zend Core for Oracle" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phpoci8" label="php-oci8" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>Zend have just released a new version of <a href="http://www.zend.com/products/zend_core/zend_core_for_oracle">Zend Core for Oracle</a>. This is a prebuilt and tested stack of Apache, PHP and Oracle Instant Client. If you haven't used it before, you will like the easy setup. I promise. <br><br>Try this with an existing Oracle database install, or download and install <a href="http://otn.oracle.com/xe">Oracle Database XE</a>, our free database.<br><br>Zend Core for Oracle is also supported with <a href="http://otn.oracle.com/linux">Oracle Enterprise Linux</a>.<br><br>Zend Core for Oracle release 2.0 includes PHP 5.2.1, the refactored OCI8 driver, Oracle Instant Client, and an optional Apache HTTP Server 2.2.2. <br><br>Zend Core for Oracle is supported by Zend on the following operating systems:&nbsp; <br><br>* Oracle Enterprise Linux&nbsp; <br>* X86 running SLES9 or RHEL3 or RHEL4&nbsp; <br>* X86 running Windows XP/2003/Vista&nbsp; <br>* X86-64 running Windows Vista in 32bit mode&nbsp; <br>* X86-64 running SLES9 or RHEL3 or RHEL4&nbsp; <br>* pSeries running AIX 5.2 or 5.3&nbsp; <br>* Sun Solaris Sparc 8, 9 10 <br><br>The web servers that are supported are:&nbsp; <br><br>* Apache 1.3.x (except on Windows Vista), Apache 2.x&nbsp; <br>* Oracle HTTP Server 10.1.2.0.0 (on Linux and Windows x86)&nbsp; <br>* Microsoft IIS 5, 6, 7 <br><br>Zend Core for Oracle is supported (by Zend) against Oracle Database 10g and 9i. That means that you can have a fully supported stack of database, web server and PHP.<br><br>If you aren't sure how to use it, or want more information on install, configuration, and use, go and have a read of the <a href="http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf">Underground PHP and Oracle Manual</a>. Yet another handy resource for all things PHP and Oracle. And another shameless plug from me. <br><br>Don't forget there are lots of articles, FAQs, downloads and links at the <a href="http://otn.oracle.com/php">OTN PHP Developer Center</a>.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>PHP 5.2.2 Setup on Windows</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/05/php_522_setup_on_windows.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.293</id>
   
   <published>2007-05-16T12:01:10Z</published>
   <updated>2008-07-01T07:40:08Z</updated>
   
   <summary>I&apos;ve just been setting up PHP 5.2.2 on Windows XP Pro, with Apache 2.0.59. I couldn&apos;t get Apache to find the correct php.ini file. It was looking in C:\Windows, instead of where I installed PHP. The httpd.conf file told Apache...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="apache" label="Apache" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>I've just been setting up PHP 5.2.2 on Windows XP Pro, with Apache 2.0.59. I couldn't get Apache to find the correct php.ini file. It was looking in C:\Windows, instead of where I installed PHP. The httpd.conf file told Apache to look in C:\Program Files\PHP, but it wasn't. So none of the extensions were loading.<br><br>I figured out that changing the back slashes to forward slashes fixes the problem. I wanted to blog about this as The Underground PHP and Oracle Manual that we've just released doesn't mention this problem, and you may encounter it yourselves. So if you do, you know the fix. And yes, I've logged a bug with PHP for this. :-)<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>Underground PHP and Oracle Manual 1.4 Available</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/05/underground_php_and_oracle_man.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.294</id>
   
   <published>2007-05-15T01:48:22Z</published>
   <updated>2008-07-01T07:41:38Z</updated>
   
   <summary>After a few weeks of furious writing, Chris Jones and I have released the latest version of The Underground PHP and Oracle Manual. This is version 1.4, and includes updates on:PHP PDO_OCI extensionTesting the OCI8 extensionTracing OCI8 internalsComaprison of old...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phpoci8" label="php-oci8" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="phppdo" label="php-pdo" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>After a few weeks of furious writing, Chris Jones and I have released the latest version of <a href="http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf">The Underground PHP and Oracle Manual</a>. This is version 1.4, and includes updates on:<br><ul><li>PHP PDO_OCI extension</li></ul><ul><li>Testing the OCI8 extension</li></ul><ul><li>Tracing OCI8 internals</li></ul><ul><li>Comaprison of old and new OCI8 function names</li></ul><ul><li>and lots more to keep you busy<br></li></ul>So go get it now. Did I mention it's free?<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>Article in International PHP Magazine</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/05/article_in_international_php_m.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.295</id>
   
   <published>2007-05-02T04:03:01Z</published>
   <updated>2008-07-01T07:42:48Z</updated>
   
   <summary>Richard Rendell, my manager, and leader of all things PHP at Oracle, has an article in this month&apos;s International PHP Magazine. Here&apos;s a reprint of the original article.It has info on connection options with Oracle databases, and the new connection...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>Richard Rendell, my manager, and leader of all things PHP at Oracle, has an article in this month's International PHP Magazine. Here's a <a href="http://www.oracle.com/technology/tech/php/pdf/php-oracle-connection-magazine-reprint.pdf">reprint of the original article</a>.<br><br>It has info on connection options with Oracle databases, and the new connection pooling feature. Nice work Richard.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>A new version of the Underground PHP and Oracle Manual coming soon</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/04/a_new_version_of_the_undergrou.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.296</id>
   
   <published>2007-04-17T08:54:09Z</published>
   <updated>2008-07-01T07:43:39Z</updated>
   
   <summary>I know this is nothing to do with PHP or Oracle, but something that&apos;s been bugging me for a while and I&apos;ve just found the answer to it.I&apos;m working on the 1.3 version of the Underground PHP and Oracle Manual...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="PHP" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>I know this is nothing to do with PHP or Oracle, but something that's been bugging me for a while and I've just found the answer to it.<br><br>I'm working on the 1.3 version of the Underground PHP and Oracle Manual that Chris Jones and myself have been writing over the last year. I'm writing it in MS Word. I used to be a technical writer many years ago and I'm used to working with long, complex documents, using the appropriate tools. This time I'm using MS Word. It is just awful for this type of job.<br><br>One thing that was driving me mad is that I couldn't figure out how to remove paragraph or character styles. Most of the time I could just change them to another style, but sometimes they wouldn't budge. After some research, I found out that to totally remove a paragraph style, change it to Normal, then to the new style you need. Who'd'a thunk?<br><br>A similarly strange method is required for character styles. You need to select it and then hit Ctr + Spacebar. That removes it and you can apply another one.<br><br>This has been a thorn in my side for the last two releases of this book. Hopefully I can spend some time reformatting it so each chapter looks a little more consistent now I've worked out how to do it.<br><br>Moral of the story ... don't use Word for anything other than a fax!<br><br>Now if anyone can tell me how to get the bookmarks and links working from a Word master document to Acrobat, I'll send you a special present.<br><br>If you hadn't worked it out from this blog, I'm working on version 1.3 of The Underground PHP and Oracle Manual. So in a long and roundabout way what I'm really saying is stay tuned for more news on the upcoming release of the new and improved version of this book.<br></p>]]>
      
   </content>
</entry>
<entry>
   <title>Removing Oracle Database XE from Linux</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/alison/2007/03/removing_oracle_database_xe_fr.html" />
   <id>tag:blogs.oracle.com,2007:/alison//23.298</id>
   
   <published>2007-03-22T02:32:39Z</published>
   <updated>2008-07-01T07:46:23Z</updated>
   
   <summary>I haven&apos;t blogged for a while as I&apos;ve been holidaying in Thailand, but I thought it&apos;s time to get back into nerding instead of laying on beaches. (Did I just say that?!)So, first thing I try to do is deinstall...</summary>
   <author>
      <name>alison.holloway</name>
      
   </author>
         <category term="Oracle Database XE" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="oraclexe" label="Oracle XE" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="uninstall" label="uninstall" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/alison/">
      <![CDATA[<p>I haven't blogged for a while as I've been holidaying in Thailand, but I thought it's time to get back into nerding instead of laying on beaches. (Did I just say that?!)<br><br>So, first thing I try to do is deinstall one of my Oracle Database XE installs, but I'd done a few things to the file system that made it impossible to remove using the standard deinstall procedure. After searching through the Oracle XE doc, I found this little gem to manually remove XE. I wanted to share it as I've had to do this a couple of times now. The first time I didn't know this trick and had to reinstall the o/s, just before a demo at a conference. It was a tiny bit stressful.<br><br>First off, check to see what Oracle RPMs are installed, and try removing them. <br><br>rpm -qa | grep oracle<br><br>rpm -e oracle-xe-univ<br><br>If you get an error here, move on to the next steps to manually remove XE. Remove the XE directories.<br><br>rm -Rf /usr/lib/oracle/xe<br>rm -Rf /etc/oratab<br>rm -Rf /etc/init.d/oracle-xe<br>rm -Rf /etc/sysconfig/oracle-xe<br><br>Hey presto! Your system no longer has any XE files and you can start again. Like I'm doing right now.</p>]]>
      
   </content>
</entry>

</feed>
