<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Php on Angus Thinks</title>
		<link>https://www.malcolmhardie.com/weblogs/angus/tags/php/</link>
		<description>Recent content in Php on Angus Thinks</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
			<copyright>@2026 Angus Hardie</copyright>
		
		
			<lastBuildDate>Wed, 19 Nov 2008 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.malcolmhardie.com/weblogs/angus/tags/php/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Zend Framework - run in a subdirectory</title>
				<link>https://www.malcolmhardie.com/weblogs/angus/posts/2008/11/19/zend-framework-run-in-a-subdirectory/</link>
				<pubDate>Wed, 19 Nov 2008 00:00:00 +0000</pubDate>
				<guid>https://www.malcolmhardie.com/weblogs/angus/posts/2008/11/19/zend-framework-run-in-a-subdirectory/</guid>
				<description>&lt;p&gt;This article explains how to use Zend Framework MVC in a subdirectory (rather than in the DocumentRoot)&lt;/p&gt;&#xA;&lt;p&gt;[&lt;a href=&#34;http://www.johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/&#34; class=&#34;link-external&#34; rel=&#34;noopener&#34;&gt;Link&lt;/a&gt;&#xA;]&lt;/p&gt;</description>
			</item>
			<item>
				<title>Zend framework Quickstart and SQLite</title>
				<link>https://www.malcolmhardie.com/weblogs/angus/posts/2008/11/19/zend-framework-quickstart-and-sqlite/</link>
				<pubDate>Wed, 19 Nov 2008 00:00:00 +0000</pubDate>
				<guid>https://www.malcolmhardie.com/weblogs/angus/posts/2008/11/19/zend-framework-quickstart-and-sqlite/</guid>
				<description>&lt;p&gt;I was building the Zend Framework quick start tutorial example but I kept getting the following error:&lt;/p&gt;&#xA;&lt;p&gt;Message: &lt;strong&gt;SQLSTATE&lt;/strong&gt;[&lt;strong&gt;HY000&lt;/strong&gt;]: &lt;strong&gt;General&lt;/strong&gt; &lt;strong&gt;error&lt;/strong&gt;: &lt;strong&gt;14&lt;/strong&gt; &lt;strong&gt;unable&lt;/strong&gt; &lt;strong&gt;to&lt;/strong&gt; &lt;strong&gt;open&lt;/strong&gt; &lt;strong&gt;database&lt;/strong&gt; &lt;strong&gt;file&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This was despite the fact that I had correct privileges on the database file.&lt;/p&gt;&#xA;&lt;p&gt;However it turns out you seem to need write and execute privileges for Apache on the directory that contains your sqlite database (not just the database file itself).&lt;/p&gt;&#xA;&lt;p&gt;I added them to the containing directory and everything seems to work now. :-)&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
