<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/2.4.2" -->
<rss version="0.92">
	<channel>
		<title>Uberbrodt.net</title>
		<link>http://www.uberbrodt.net/blog/index.php?blog=2</link>
		<description></description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
				<item>
			<title>Another one about trials</title>
						<description>&lt;p&gt;I&amp;#8217;m hardly what you would call a legal scholar&amp;#8211;I took one class on constitutional law in my tenure as a University student&amp;#8211;but it seems like everything interesting lately to me is happening in the courts.&lt;/p&gt;

&lt;p&gt;First you have the decision by the Obama administration to finally bring 10 of the Guantanamo prisoners to trial, 5 in Civilian courts in New York and another 5 in modified military.&amp;nbsp; While it&amp;#8217;s nice that we&amp;#8217;ve decided to bring &lt;i&gt;x&lt;/i&gt; number of the people we hold in a legal black hole to at least some semblance of a legal proceeding, I&amp;#8217;m not terribly happy about the continuing of military commissions.&amp;nbsp; Though, on the other hand, I don&amp;#8217;t really see how you can have foreign prisoners of war tried in civilian courts.&amp;nbsp; So if commissions and civilian courts aren&amp;#8217;t appropriate, then you should give them a courts-martial right?&lt;/p&gt;

&lt;p&gt;Oops!&amp;nbsp; Did I forget to mention that they&amp;#8217;re *not* prisoners of war?&amp;nbsp;  I think they&amp;#8217;re enemy combatants, or unlawful combatants, or men from mars for all we know.&amp;nbsp; The important thing is that they&amp;#8217;re not prisoners of war.&amp;nbsp; Despite the fact that we&amp;#8217;re conducting a &amp;#8220;War on Terror&quot;.&amp;nbsp; Confused yet?&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s not surprising, that the handling of detainees has been so schizophrenic, given the precedents inherited by a declaration of war.&amp;nbsp; Which, in all honestly, is probably &lt;i&gt;scarier&lt;/i&gt; in terms of legal implications for American citizens.&amp;nbsp; States of war tend to produce very sketchy behavior by the government towards civil liberties and press freedoms.&amp;nbsp; Compounded by the fact that we&amp;#8217;ve declared war on an &lt;i&gt;idea&lt;/i&gt;, which are notoriously hard to vanquish (see: racism, sexism, et al), you&amp;#8217;ve got a perfect storm of totalitarianism.&lt;/p&gt;
&lt;p&gt;Not to say that we&amp;#8217;re actually anywhere close to that, but it&amp;#8217;s unnerving to say the least; and who&amp;#8217;s to say that another terrorist attack or credible threat won&amp;#8217;t push us closer to that point.&amp;nbsp;  At the beginning of the Summer, President Obama declared that &lt;a href=&quot;http://www.nytimes.com/2009/11/14/us/14terror.html?pagewanted=2&amp;amp;sq=9/11%20trials&amp;amp;st=cse&amp;amp;scp=10&quot; title=&quot;NY Times article on 9/11 trials&quot;&gt;&amp;#8220;some detainees who are deemed too dangerous to release but too difficult to prosecute&amp;#8221;&lt;/a&gt; will be held in indefinite detention.&amp;nbsp; Which as far as Western liberal democracies go, is a big no-no.&amp;nbsp; I understand the argument that:
&lt;/p&gt;
&lt;ol type=&quot;a&quot;&gt;
   &lt;li&gt;They&amp;#8217;re not US citizens&lt;/li&gt;
   &lt;li&gt;They&amp;#8217;re probably f**king terrorists&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
To which I would answer that a) that&amp;#8217;s a slippery slope, and b) who&amp;#8217;s to say?&amp;nbsp; We already prosecute foreign nationals that commit crimes in the United States, or at least request their extradition.&amp;nbsp;  But detaining them indefinitely flies in the face of rule of law and democracy.&amp;nbsp; It&amp;#8217;s unfortunate that the Obama administration didn&amp;#8217;t have the will to call an end to the war on terror in real policy terms, instead of merely renaming it to a &amp;#8220;Overseas Contingency Operation&amp;#8221;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/12/04/another-one-about-trials?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/12/04/another-one-about-trials?blog=2</link>
							</item>
				<item>
			<title>21st Century Show Trials</title>
						<description>&lt;p&gt;Like most people, I have a list of things I wish I had seen and done before it became impossible to do so.  I would have liked to see the Ramones in concert; meet Kwame Nkrumah; and to see a mock trial put on by a repressive totalitarian regime to liquidate political opposition.  Well, this past week one of my dreams has been realized by the conservative Iranian regime rounding up about a 100 old men, dressing them in prison pajamas and beating them within an inch of their life to extract ludicrous confessions of foreign collaboration against the regime.  It&amp;#8217;s quite amazing really; I would have thought that in an age where Twitter was winning the war against repression, that something as antiquated as blood-stained confessions would be no match.&lt;/p&gt;
&lt;p&gt;Alas, nobody informed the Iranian government, whose &amp;#8216;cunning plan&amp;#8217; is likely to use these confessions to arrest bigger political figures in the reform movement. Foreign Policy contributor &lt;a href=&quot;http://drezner.foreignpolicy.com/posts/2009/08/24/video_killed_the_radio_star_when_it_comes_to_show_trials&quot;&gt;Daniel Drezner&lt;/a&gt; pointed out that televising these trials live is not nearly as effective as after-the-fact radio broadcasts or print propaganda.  The consensus appears to be that few people are actually buying the confessions, which allege foreign collusion with the Reform movement to overthrow the Islamic Republic.  Or something like that.  Now, it&amp;#8217;s one thing to get a political opponent to say that in a &amp;#8216;official&amp;#8217; capacity; but it&amp;#8217;s another thing when you see it delivered by a man whose lost thirty pounds and looks like his face had gone 5 rounds with a baton.  If perhaps they Twittered their confessions, it would be immeasurably more effective.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&amp;#8220;Khatami: @Ayatollah I totally lied about the elections and hate the Iranian Republic.  Also, I love the USA and think that Islam is teh Suxz0r&amp;#8221;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Right! Now that&amp;#8217;s some propaganda!  Guilty as hell, I say!.  Now make him fans of the UK and the US Army on his Facebook profile and you&amp;#8217;ll have the whole &amp;#8216;Reformist&amp;#8217; (aka: Pro-Western Traitor) movement nipped in the bud by the end of the week.  I just made this up, and I already believe it 100%.&lt;/p&gt;
&lt;p&gt;Now, I&amp;#8217;m not saying that I support the Iranian government; it&amp;#8217;s just that if this is the only mockery of justice that I get to see in my lifetime, I want it to at least be done right.  If not, then the whole sad tradition of fabricating false allegations against political opponents faces the threat of extinction.  Take for example, the Stalinist trials in the 30&amp;#8217;s; he was able to do two of them before most people started to even &lt;i&gt;think &lt;/i&gt;that they might be a complete crock.  From what I can tell, no one is taking the current trials seriously; except the Iranian government, (which is important, because they&amp;#8217;re the ones with the firing squads).&lt;/p&gt;
&lt;p&gt;But really, this is just another example of how the United States has fallen behind in yet another endeavor.  It&amp;#8217;s been nearly 60 years since we as a nation have engaged in an old-fashioned political witch-hunt. And no, I will not include tea-bagging, birthers, and Medicare beneficiaries screaming about socialism as &amp;#8220;real&amp;#8221; forms of political character assassination.  The political right in this country is so &lt;i&gt;terrible&lt;/i&gt; at this, their godless, communist, liberal enemy had to &lt;a href=&quot;http://www.huffingtonpost.com/2009/08/03/kenyan-birth-certificate_n_249850.html&quot;&gt;fabricate their spurious evidence&lt;/a&gt; &lt;i&gt;for them.&lt;/i&gt; This is why nobody wants to buy a GM anymore America!  I can only hope that in the future, our children will be able to live in a country, where the opponents to progressive change in this country will be able to meticulously and decisively trump up political accusations, use questionable legal practices and generally ruin the lives of their political foes.  Sort of like &lt;a href=&quot;http://www.nytimes.com/2009/09/07/us/politics/07vanjones.html?_r=1&amp;amp;ref=politics&quot;&gt;this guy&lt;/a&gt;.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/09/07/21st-century-show-trials?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/09/07/21st-century-show-trials?blog=2</link>
							</item>
				<item>
			<title>HP Pavilion Dv3t and Ubuntu 9.04 x64</title>
						<description>&lt;p&gt;Got a new lappy the other day to replace the sad Toshiba.&amp;nbsp; It had developed a problem where sound events were causing the wireless card to fail (yes, I know that sounds crazy).&amp;nbsp; And I was generally unhappy with it&amp;#8217;s overall heft and refusal to have power management capabilities.&amp;nbsp;  I had originally looked at getting a Lenovo, but they were kind of pricey and didn&amp;#8217;t seem anymore likely to work with Linux then the HP&amp;#8217;s I was looking at.&amp;nbsp; So far everything is great with the laptop, though there were a few things I had to fiddle with:&lt;/p&gt;

&lt;h3&gt;Sound&lt;/h3&gt;
&lt;p&gt;The sound card didn&amp;#8217;t work with the version of ALSA that came with Jaunty; though, there&amp;#8217;s a lot of commotion about it not working real well with a lot of cards so upgrading was fairly well documented.  I went &lt;a href=&quot;http://monespaceperso.org/blog-en/2009/05/09/upgrade-alsa-1020-on-ubuntu-jaunty-904/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; There&amp;#8217;s also an option I had to set in &amp;#8220;/etc/modprobe.d/alsa-base.conf&amp;#8221;&lt;br /&gt;
&lt;code&gt;options snd-hda-intel model=hp-m4 enable_msi=1&lt;/code&gt;&lt;br /&gt;
So far that seems to have done the trick, though sometimes on suspend/resume sound doesn&amp;#8217;t come back; probably restarting alsa would do the trick.&lt;/p&gt;

&lt;h3&gt;Wireless&lt;/h3&gt;
&lt;p&gt;Mine came with a generic wifi card that required the ath9k driver.&amp;nbsp; I was real worried when I saw that because I had previous bad experience with the Madwifi/Ath5k drivers on the Toshiba.&amp;nbsp; However, the 9k series seems to be much better, and I haven&amp;#8217;t experienced the dropped signals that can only reconnect after a restart that I was having witha the Toshiba.&amp;nbsp; You&amp;#8217;ll have to grab a newer kernel then what comes with Jaunty by pulling from the backports:&lt;br /&gt;
&lt;code&gt;sudo apt-get install linux-backports-modules-jaunty-generic&lt;/code&gt;&lt;br /&gt;
Restart and you&amp;#8217;re good.&lt;/p&gt;

&lt;h3&gt;Video&lt;/h3&gt;
&lt;p&gt;I agonized over this for days:  The NVIDIA Geforce G 105M was unsupported by the binary drivers when I ordered the lappy.&amp;nbsp; I took a gamble that support would reach Linux soon.&amp;nbsp; Well, my gambit paid off and Nvidia added support in their latest beta release of the proprietary driver.&amp;nbsp; Follow this link to the NVNews forum and grab the &lt;a href=&quot;http://www.nvnews.net/vbulletin/showthread.php?p=2071551&quot;&gt; highest numbered installer&lt;/a&gt;.&amp;nbsp; Installation is pretty straight-forward from there; shutdown X and run the install as root (you&amp;#8217;ll probably need to run &amp;#8220;chmod ugo+x&amp;#8221; to grant it execution privileges).
&lt;/p&gt;

&lt;p&gt;And that&amp;#8217;s pretty much it.&amp;nbsp; Everything else just seems to work, including the brightness controls and other random function keys.&amp;nbsp; I&amp;#8217;m not too crazy about the keyboard, but I&amp;#8217;m not a big fan of many laptop keyboards.&amp;nbsp; I highly recommend it to any Linux users&lt;/p&gt;

&lt;h2&gt;UPDATE:&lt;/h2&gt;
&lt;p&gt;There&amp;#8217;s a funky issue with the battery &amp;#8220;disappearing&amp;#8221; after a resume from suspend.&amp;nbsp; It appears to be a known issue with the HP laptops and the kernel devs &lt;a href=&quot;http://patchwork.kernel.org/patch/35062/&quot;&gt;appear to have addressed it&lt;/a&gt; for another model.&amp;nbsp; If I get a chance I&amp;#8217;ll try rolling my own kernel and seeing if the fix works for my laptop.&lt;/p&gt;

&lt;h4&gt;UPDATE of UPDATE&lt;/h4&gt;
&lt;p&gt;Weird.&amp;nbsp; I protected this post after I updated it.&amp;nbsp; Oh well, here it is again&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/08/29/hp-pavilion-dv3t-and-ubuntu-9-04-x64?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/08/29/hp-pavilion-dv3t-and-ubuntu-9-04-x64?blog=2</link>
							</item>
				<item>
			<title>I'd Rather Be Deadly Then Dead</title>
						<description>&lt;p&gt;My grandfather passed away two weeks ago.&amp;nbsp; A funeral and general revelry.&amp;nbsp;  I will miss him, though in the end it was a passing that one can call a &amp;#8216;good thing&amp;#8217;.&amp;nbsp; I&amp;#8217;ve successfully alienated my latest ex-girlfriend, though my personal opinion is that that the Great Cosmological Scoreboard is probably about even.&amp;nbsp; So it goes.&lt;/p&gt;
&lt;p&gt;In more interesting news, I&amp;#8217;ve decided to write a serial.&amp;nbsp; The first installment will appear tomorrow &lt;i&gt;in this very place&lt;/i&gt;.&amp;nbsp; It will serve two purposes: Get me back into writing and take up my excessive free time.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/07/25/i-d-rather-be-deadly-then-dead?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/07/25/i-d-rather-be-deadly-then-dead?blog=2</link>
							</item>
				<item>
			<title>When the Wolf comes home...</title>
						<description>&lt;p&gt;The &lt;b&gt;move&lt;/b&gt; is drawing to it&amp;#8217;s inevitable conclusion, with both moments of triumph (I unpacked the kitchen and my office) and defeat(I haven&amp;#8217;t unpacked much else, and I don&amp;#8217;t have a washer).&amp;nbsp; But all said, a fine move.&amp;nbsp; My roommate is Otis, who pays his rent in kisses and nuzzles; my house is situated in a nice quiet part of &lt;a href=&quot;http://en.wikipedia.org/wiki/Neighborhoods_of_Jacksonville,_Florida#Riverside&quot;&gt;Riverside&lt;/a&gt;*.&amp;amp;nbsp Such as it is, I am lord over my domain; and it is good.&amp;nbsp; Haven&amp;#8217;t had too much of a chance to hang out, the burden of a move and associated costs plus a new project at work has kept me homebound and dull.&amp;nbsp; Though, I expect payday to bring an atypical amount of mischief with it.&amp;nbsp; I hope to wipe out the last of the moving/purchasing that the new digs have required (did I mention I needed a washer?) this weekend.&amp;nbsp; The folks have offered to send a little cash my way, which has been nice of them.&amp;nbsp; Moving seems to get more expensive everytime I do it.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve rediscoved the joys of pipe smoking again, something that I&amp;#8217;ve been off-again on-again with for some years (though it has remained something of &amp;#8220;trademark&quot;, if you will).&amp;nbsp; I do forget how relaxing and enjoyable of a pursuit it is.&amp;nbsp; I had quit the last time because of headaches caused by clenching the pipe to hard with my teeth;  but there really is nothing more satisfying then to sit at the computer writing, reading, or whatever while puffing merrily away at a pipe.&amp;nbsp; It has all the qualities of a Chris Brodt hobby/infatuation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It is something an old man would do&lt;/li&gt;
&lt;li&gt;It requires study, practice, patience and effort; wheras, it&amp;#8217;s modern replacement requires a fraction of or none at all (look up double-edged safety razors for another example)&lt;/li&gt;
&lt;li&gt;I could fill at least 15 minutes expositing the finer points and vaguries of it over it&amp;#8217;s &amp;#8216;modern&amp;#8217; competitors&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Which I guess seems strange for someone who is in the business of technology and such.&amp;nbsp; Well, if contradictions are a measure of character then I come through in spades.&amp;nbsp; But now to more pressing topics: a trip back to the motherland.&amp;nbsp; I&amp;#8217;m thinking the 31st through the 4th or 5th.&amp;nbsp; I was thinking maybe a little sooner, but one of my team leads will be on vaction for the next two weeks so I figured the timing wouldn&amp;#8217;t be that great.&amp;nbsp; I expect each and every one of you (and you know who &lt;i&gt;you&lt;/i&gt; are) to drop any plans you have for that time and spend it with me.&amp;nbsp; I promise you won&amp;#8217;t regret it&lt;/p&gt;  
&lt;p&gt;*Otis is a dog, in case you were wondering&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/07/08/when-the-wolf-comes-home?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/07/08/when-the-wolf-comes-home?blog=2</link>
							</item>
				<item>
			<title>Don't Know Much</title>
						<description>&lt;p&gt;&lt;i&gt;But&lt;/i&gt;, I do know that if you put Townes Van Zandt into Pandora, you will get a damn good radio station to drink whisky to&lt;/p&gt;
&lt;p&gt;You can even skip the whisky,&lt;i&gt;it&amp;#8217;s that good&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Now as you were&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/06/23/don-t-know-much?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/06/23/don-t-know-much?blog=2</link>
							</item>
				<item>
			<title>Ok let's go</title>
						<description>&lt;p&gt;
So ends Bachelor Week 2009.&amp;nbsp; Cherie has been out of town for a week now, attending to Josh and Erin&amp;#8217;s wedding.&amp;nbsp; I&amp;#8217;ve kept myself occupied with puppies and &lt;a href=&quot;http://dsc.discovery.com/fansites/deadliestcatch/deadliestcatch.html&quot; title=&quot;This show is awesome&quot;&gt;crab fishing&lt;/a&gt;.&amp;nbsp; The weather has been fairly decent, up until yesterday when the rain started coming down around noon and didn&amp;#8217;t ever really stop.&amp;nbsp; &lt;br /&gt;
However, it feels like most of my time is being taken up by work these days.&amp;nbsp; I&amp;#8217;m working on a project that requires a separate database, so I&amp;#8217;ve been looking into using &lt;a href=&quot;http://www.postgresql.org&quot;&gt;PostgreSQL&lt;/a&gt;.&amp;nbsp; I&amp;#8217;m really enjoying working with it so far; the syntax and style has some similarities with Oracle and I like the MVCC locking model that it uses (I&amp;#8217;m not a big fan of the hard row-locks/table-locks that the various MySQL engines use).&amp;nbsp; &lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt;UPDATE: I began writing this post shortly before shit hit the fan.&amp;nbsp; Published for historical purposes&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/06/23/ok-let-s-go?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/06/23/ok-let-s-go?blog=2</link>
							</item>
				<item>
			<title>OCI8+PHP+Apache/Ubuntu 8.10 Intrepid HOW TO (Part 2)</title>
						<description>&lt;p&gt;Last time we left off where we phpize the oci8 package.&amp;nbsp; Now we&amp;#8217;re going to compile and install it&lt;/p&gt;

&lt;p&gt;At this point, you&amp;#8217;ll probably want to set some environment variables in bash.&amp;nbsp; There&amp;#8217;s some debate about whether you need to set the $ORACLE_HOME or not, or whether you should put environment variables in /etc/profile or a script in /etc/profile.d. &amp;nbsp; I&amp;#8217;m not going to get into that debate but if you have a preference or concern then be my guest.&amp;nbsp; For all others:&lt;br /&gt;
&lt;code&gt;root@sonicroot@sonic:/opt/oracle/src/oci8-1.3.4# cd /etc/profile.d/&lt;br /&gt;
root@sonic:/etc/profile.d# vi oracle.sh&lt;/code&gt;&lt;br /&gt;
and put this in the file:
&lt;/p&gt;
&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;LD_LIBRARY_PATH=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;TNS_ADMIN=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc3&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;SQLPATH=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc4&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;PATH=$PATH:/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc5&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc6&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export LD_LIBRARY_PATH&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc7&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export TNS_ADMIN&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc8&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export SQLPATH&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc9&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export PATH&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;This will setup the oracle environment variables every time someone logs in.&amp;nbsp; For now, you can either setup these variables by hand at the commandline or make this script executable and run it with &lt;code class=&quot;codespan&quot;&gt;sh ./oracle.sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;EDIT: I&amp;#8217;ve become hopelessly lazy with this guide and so I&amp;#8217;m just going to cut it sort and sweet.&amp;nbsp; Basically the problem I had was that I could get the PHP CLI to connect to the oracle server but I couldn&amp;#8217;t get the Apache instance to access Oracle. Solution?&amp;nbsp; Go to &lt;code class=&quot;codespan&quot;&gt;/etc/apache2&lt;/code&gt; and edit the &lt;code class=&quot;codespan&quot;&gt;envvars &lt;/code&gt; file.&amp;nbsp; Enter the following lines:&lt;/p&gt;
&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export LD_LIBRARY_PATH=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export TNS_ADMIN=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc3&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;export SQLPATH=/opt/oracle/instantclient&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;
I&amp;#8217;ll give you some references.&amp;nbsp; First, is the how-to in the Ubuntu forums.&amp;nbsp; It was what I basically followed for compiling oci,etc.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=637158&amp;amp;highlight=oci+php&quot;&gt;Ubuntu OCI guide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Next is a site I found useful, though it is focusing on OCI and Ruby.&amp;nbsp; I believe it tipped me off to the Apache variables fix I just showed you.&lt;br /&gt;
&lt;a href=&quot;http://2muchtea.wordpress.com/2007/12/23/installing-ruby-oci8-on-ubuntu/&quot;&gt;Ruby and OCI&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There you go.&amp;nbsp; Leave a comment if you have more questions&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.uberbrodt.net/blog/index.php/2009/04/25/oci8-php-apache-ubuntu-8-10-intrepid-how-2?blog=2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<link>http://www.uberbrodt.net/blog/index.php/2009/04/25/oci8-php-apache-ubuntu-8-10-intrepid-how-2?blog=2</link>
							</item>
			</channel>
</rss>
