<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Zend_Framework_Setup</id>
	<title>Zend Framework Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Zend_Framework_Setup"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Zend_Framework_Setup&amp;action=history"/>
	<updated>2026-09-12T21:07:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Zend_Framework_Setup&amp;diff=1031&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Zend_Framework_Setup&amp;diff=1031&amp;oldid=prev"/>
		<updated>2013-07-25T08:45:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:45, 25 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Zend_Framework_Setup&amp;diff=1030&amp;oldid=prev</id>
		<title>Chris: /* Configure Zend */</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Zend_Framework_Setup&amp;diff=1030&amp;oldid=prev"/>
		<updated>2010-02-16T21:22:27Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure Zend&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;http://www.howtoforge.com/basic-web-server-on-ubuntu-9.04-with-zend-framework&lt;br /&gt;
==Configure Apache==&lt;br /&gt;
We need to make sure that rewrite_module is enabled in apache2 for the Zend Framework to work properly, so lets check:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a2dismod&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hopefully you should see rewrite listed in the list of modules that are currently enabled. If not, press enter to disable nothing and then issue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a2enmod rewrite&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we need to enable AllowOverride All in the default site file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apache2/sites-available/default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
  DocumentRoot /var/www/&lt;br /&gt;
        &amp;lt;Directory /&amp;gt;&lt;br /&gt;
                Options FollowSymLinks&lt;br /&gt;
                AllowOverride All&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
        &amp;lt;Directory var/www/&amp;gt;&lt;br /&gt;
                Options FollowSymLinks &lt;br /&gt;
                AllowOverride All&lt;br /&gt;
                Order allow,deny&lt;br /&gt;
                allow from all&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restart Apache afterwards:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Install Zend==&lt;br /&gt;
Now we can get the latest version of the Zend Framework&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt&lt;br /&gt;
sudo mkdir ZendFramework&lt;br /&gt;
cd /ZendFramework&lt;br /&gt;
sudo svn co http://framework.zend.com/svn/framework/standard/tags/release-1.10.1/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next what we will do is create a soft link called &amp;quot;current&amp;quot; to that release folder that way if we change the Zend Framework version, we can do so without restarting Apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s release-1.10.1 current&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
So that we don't have to manually add the include path into your PHP scripts using set_include_path. I want the current Zend Framework included automatically, by adding the path to the /etc/php5/apache2/php.ini.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/php5/apache2/php.ini&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Change:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_path = &amp;quot;.:/usr/share/php5:/usr/share/pear&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_path = &amp;quot;.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then Restart Apache again:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When a new version of the Zend Framework is released, all we need do is check out the SVN directory and change the soft link.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/ZendFramework&lt;br /&gt;
svn co http://framework.zend.com/svn/framework/standard/tags/release-1.8.4/&lt;br /&gt;
rm current&lt;br /&gt;
ln -s release-1.8.4 current&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Configure Zend==&lt;br /&gt;
We now need to set up the paths for the command line so we'll make the same changes we just made above to the PHP CLI.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/php5/cli/php.ini&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_path = &amp;quot;.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
PATH=/opt/ZendFramework/current/bin:&amp;quot;${PATH}&amp;quot;&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot. When you log back in &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zf.sh show version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you should get&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Zend Framework Version: 1.10.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
</feed>