<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/pome-framework/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/pome-framework/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 22 Apr 2013 09:57:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pome-framework/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>Installation modified by Mehran Ziadloo</title><link>https://sourceforge.net/p/pome-framework/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;1. Create a host&lt;/strong&gt;&lt;br /&gt;
Create a host / virtual host in Apache. For more information on how to do this, please refer to internet. Some good examples can be found here: &lt;a href="http://httpd.apache.org/docs/2.2/vhosts/examples.html"&gt;http://httpd.apache.org/docs/2.2/vhosts/examples.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Mention Zend Framework's path in PHP's include_path&lt;/strong&gt;&lt;br /&gt;
Best way to do this is to modify your php.ini file. Here's an example if you want to do this in a .htaccess file:&lt;br /&gt;
&lt;code&gt;php_value include_path .:/usr/local/zend/share/ZendFramework/library&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Copy webroot to your host's folder&lt;/strong&gt;&lt;br /&gt;
The files in Pomegranate's webroot should be copied into your just created host. There's a .htaccess in there, make sure that it is included as it's hidden by default.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Copy offweb folder into an arbitrary path&lt;/strong&gt;&lt;br /&gt;
&lt;code&gt;offweb&lt;/code&gt; folder is parent folder to all the codes for Pomegranate Framework. Even though its path is absolutely arbitrary, but it's recommended that it is placed by webroot. Please note that this folder is supposed to be out of the Apache's reach and not accessible to global access.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. Modify the config file&lt;/strong&gt;&lt;br /&gt;
There's a config file in offweb/config/config.ini which needs to be modified in order for system to work. The most important ones are paths to different folders and DB access information.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;6. Modify .htaacess file in webroot&lt;/strong&gt;&lt;br /&gt;
There's also a .htaccess file in webroot which you need to modify before you can run the examples. In that file you will find two PHP environmental variables named &lt;code&gt;CONFIG_FILE&lt;/code&gt; and &lt;code&gt;PACKAGE_ROOT&lt;/code&gt; which should point to the right directories.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mehran Ziadloo</dc:creator><pubDate>Mon, 22 Apr 2013 09:57:02 -0000</pubDate><guid>https://sourceforge.net76c8d7e45f8da55853e49b421f4456ff3205c24e</guid></item></channel></rss>